CPython
From Seo Wiki - Search Engine Optimization and Programming Languages
| File:Python logo.svg | |
|---|---|
| Developer(s) | Python Software Foundation |
| Stable release | 3.1.1 / August 16, 2009 |
| Written in | C |
| Platform | Cross-platform |
| Type | Python Programming Language Interpreter |
| License | Python Software Foundation License |
| Website | Python.org |
CPython is a bytecode interpreter. It has a foreign function interface with several languages including C, in which one must explicitly write bindings in a language other than Python.
Contents |
[edit] Supported platforms
|
Unix-like |
Desktop OSes |
Special and embedded |
Mainframe and other |
[edit] Previously supported platforms
PEP 11 lists platforms which are not supported in CPython by Python Software Foundation. These platforms can still be supported by external ports. See below.
- DOS (unsupported since 2.0)
- IRIX 4 (unsupported since 2.3)
- Mac OS 9 (unsupported since 2.4)
- MINIX (unsupported since 2.3)
[edit] External ports
These are ports not integrated to Python Software Foundation's official version of CPython, with links to its main development site. Ports often include additional modules for platform-specific functionalities, like graphics and sound API for PSP and SMS and camera API for S60.
- Amiga: AmigaPython
- AS/400: iSeriesPython
- DOS using DJGPP: PythonD
- PlayStation Portable: Stackless Python for PSP
- Symbian OS: Python for S60
- Windows CE/Pocket PC: Python Windows CE port
[edit] Concurrency issues
The main issue of using CPython on a multiprocessor computer is the presence of a Global Interpreter Lock on each CPython interpreter process, which effectively disables concurrent Python threads within one process.[1] To be truly concurrent in multiprocessor environment, separate CPython interpreter processes have to be run, which makes establishing communication between them a difficult task. There is constant discussion whether to remove the GIL from CPython.[2]
[edit] Notes
- ^ Martelli, Alex (2006). Python in a Nutshell (2nd edition ed.). O'Reilly. pp. 5–7. ISBN 0-596-10046-9.
[edit] References
Template:Python (programming language)ar:سي بايثون de:CPython fr:CPython ja:CPython pl:CPython pt:CPython zh:CPython