Skip to content

Latest commit

 

History

History
37 lines (21 loc) · 1.31 KB

File metadata and controls

37 lines (21 loc) · 1.31 KB

Implementations

Python specifies the language and stdlib interfaces, not the implementation.

The main interpreter implementations are:

Global Interpreter Lock

GIL

http://programmers.stackexchange.com/questions/186889/why-was-python-written-with-the-gil

https://wiki.python.org/moin/GlobalInterpreterLock

Bytecode

pyc

TODO: CPython implementation detail?

https://www.quora.com/What-is-Python-byte-code

Can differ between minor versions: http://stackoverflow.com/questions/10547099/python-2-and-3-are-the-bytecode-pyo-pyc-backward-compatible

Only for loading modules faster, not running: http://stackoverflow.com/questions/3878479/python-pyc-files-main-file-not-compiled

pyd

pyo

http://stackoverflow.com/questions/8822335/what-do-the-python-file-extensions-pyc-pyd-pyo-stand-for