___________ ___________ ___________
| | | | | |
| .py | _compile_ | byptecode | _interpret_ | output |
| | | | | |
|___________| |___________| |___________|
This is my reading notes of CPython internal of Python-2.7.8. It covers the following topics:
- Opcodes and main interpreter loop
- Frames, functiona calls and scope
- PyObject: the core Python object
- Python data types
- Code objects, function objects and closures
- Iterators
- User-defined classes and objects
- Generators
References