• Home
Name Date Size #Lines LOC

..--

ACKSD06-Sep-2024110 98

READMED06-Sep-2024640 1913

ast.txtD06-Sep-20242.5 KiB105100

astgen.pyD06-Sep-20249.6 KiB295252

compile.pyD06-Sep-20241.3 KiB5246

demo.pyD06-Sep-2024885 3927

dumppyc.pyD06-Sep-2024996 4739

regrtest.pyD06-Sep-20242.1 KiB7966

stacktest.pyD06-Sep-20241.2 KiB4439

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