mirror of
https://github.com/python/cpython.git
synced 2024-11-29 17:07:13 +01:00
c2e20744b2
This was started by Mike Bland and completed by Guido (with help from Neal). This still needs a __future__ statement added; Thomas is working on Michael's patch for that aspect. There's a small amount of code cleanup and refactoring in ast.c, compile.c and ceval.c (I fixed the lltrace behavior when EXT_POP is used -- however I had to make lltrace a static global). |
||
---|---|---|
.. | ||
ACKS | ||
ast.txt | ||
astgen.py | ||
compile.py | ||
demo.py | ||
dumppyc.py | ||
README | ||
regrtest.py | ||
stacktest.py |
This directory contains support tools for the Python compiler package, which is now part of the standard library. compile.py Demo that compiles a Python module into a .pyc file using the pure-Python compiler code. demo.py Prints the names of all the methods defined in a module, as a demonstration of walking through the abstract syntax tree produced by the parser. dumppyc.py Dumps the contents of a .pyc file, printing the attributes of the code object followed by a code disassembly. regrtest.py Runs the Python test suite using bytecode generated by the pure-Python compiler code instead of the builtin compiler.