/Tools/compiler/README

http://unladen-swallow.googlecode.com/ · #! · 18 lines · 13 code · 5 blank · 0 comment · 0 complexity · 179d4ba7e11f38f45236957cab2194ca MD5 · raw file

  1. This directory contains support tools for the Python compiler package,
  2. which is now part of the standard library.
  3. compile.py Demo that compiles a Python module into a .pyc file
  4. using the pure-Python compiler code.
  5. demo.py Prints the names of all the methods defined in a module,
  6. as a demonstration of walking through the abstract syntax
  7. tree produced by the parser.
  8. dumppyc.py Dumps the contents of a .pyc file, printing
  9. the attributes of the code object followed by a
  10. code disassembly.
  11. regrtest.py Runs the Python test suite using bytecode generated
  12. by the pure-Python compiler code instead of the
  13. builtin compiler.