Name |
Date |
Size |
#Lines |
LOC |
||
---|---|---|---|---|---|---|
.. | - | - | ||||
ACKS | D | 22-Nov-2023 | 110 | 9 | 8 | |
README | D | 22-Nov-2023 | 640 | 19 | 13 | |
ast.txt | D | 22-Nov-2023 | 2.5 KiB | 105 | 100 | |
astgen.py | D | 22-Nov-2023 | 9.6 KiB | 295 | 252 | |
compile.py | D | 22-Nov-2023 | 1.3 KiB | 52 | 46 | |
demo.py | D | 22-Nov-2023 | 885 | 39 | 27 | |
dumppyc.py | D | 22-Nov-2023 | 996 | 47 | 39 | |
regrtest.py | D | 22-Nov-2023 | 2.1 KiB | 79 | 66 | |
stacktest.py | D | 22-Nov-2023 | 1.2 KiB | 44 | 39 |
README
1This directory contains support tools for the Python compiler package, 2which is now part of the standard library. 3 4compile.py Demo that compiles a Python module into a .pyc file 5 using the pure-Python compiler code. 6 7demo.py Prints the names of all the methods defined in a module, 8 as a demonstration of walking through the abstract syntax 9 tree produced by the parser. 10 11dumppyc.py Dumps the contents of a .pyc file, printing 12 the attributes of the code object followed by a 13 code disassembly. 14 15regrtest.py Runs the Python test suite using bytecode generated 16 by the pure-Python compiler code instead of the 17 builtin compiler. 18 19