Mercurial > cpython-lru_cache-weakref
annotate Tools/compiler/README @ 79675:c0a2294de787 2.7
Issue #16199: Backport 2to3 typo fix from 3.2.
| author | Chris Jerdonek <chris.jerdonek@gmail.com> |
|---|---|
| date | Thu, 11 Oct 2012 16:15:46 -0700 |
| parents | 3815c8ad02d0 |
| children |
| rev | line source |
|---|---|
|
20004
3815c8ad02d0
Remove setup.py, unnecessary since compiler package is the std
Jeremy Hylton <jeremy@alum.mit.edu>
parents:
19075
diff
changeset
|
1 This directory contains support tools for the Python compiler package, |
|
3815c8ad02d0
Remove setup.py, unnecessary since compiler package is the std
Jeremy Hylton <jeremy@alum.mit.edu>
parents:
19075
diff
changeset
|
2 which is now part of the standard library. |
| 19075 | 3 |
| 4 compile.py Demo that compiles a Python module into a .pyc file | |
| 5 using the pure-Python compiler code. | |
| 6 | |
| 7 demo.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 | |
| 11 dumppyc.py Dumps the contents of a .pyc file, printing | |
| 12 the attributes of the code object followed by a | |
| 13 code disassembly. | |
| 14 | |
| 15 regrtest.py Runs the Python test suite using bytecode generated | |
| 16 by the pure-Python compiler code instead of the | |
| 17 builtin compiler. | |
| 18 |
