mirror of https://github.com/python/cpython
8dc04a4dd1
svn+ssh://pythondev@svn.python.org/python/trunk ........ r77310 | antoine.pitrou | 2010-01-05 01:22:44 +0200 (Tue, 05 Jan 2010) | 4 lines Issue #7092: Fix the DeprecationWarnings emitted by the standard library when using the -3 flag. Patch by Florent Xicluna. ........ r77311 | antoine.pitrou | 2010-01-05 01:28:16 +0200 (Tue, 05 Jan 2010) | 3 lines Kill a couple of "<>" ........ |
||
---|---|---|
.. | ||
ACKS | ||
README | ||
ast.txt | ||
astgen.py | ||
compile.py | ||
demo.py | ||
dumppyc.py | ||
regrtest.py | ||
stacktest.py |
README
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.