/usr/lib/python2.6/compiler
NameSizeModeActions
ast.py358320644editdlrm
ast.pyc685170644editdlrm
ast.pyo685170644editdlrm
consts.py4360644editdlrm
consts.pyc6900644editdlrm
consts.pyo6900644editdlrm
future.py18930644editdlrm
future.pyc29580644editdlrm
future.pyo29580644editdlrm
misc.py17940644editdlrm
misc.pyc37170644editdlrm
misc.pyo37170644editdlrm
pyassem.py261530644editdlrm
pyassem.pyc277820644editdlrm
pyassem.pyo273230644editdlrm
pycodegen.py471010644editdlrm
pycodegen.pyc554240644editdlrm
pycodegen.pyo549490644editdlrm
symbols.py144270644editdlrm
symbols.pyc177210644editdlrm
symbols.pyo176850644editdlrm
syntax.py14440644editdlrm
syntax.pyc18720644editdlrm
syntax.pyo18720644editdlrm
transformer.py516180644editdlrm
transformer.pyc470850644editdlrm
transformer.pyo453250644editdlrm
visitor.py38960644editdlrm
visitor.pyc41950644editdlrm
visitor.pyo41950644editdlrm
__init__.py9990644editdlrm
__init__.pyc12770644editdlrm
__init__.pyo12770644editdlrm
Edit: /usr/lib/python2.6/compiler/__init__.py (999B)
"""Package for parsing and compiling Python source code There are several functions defined at the top level that are imported from modules contained in the package. parse(buf, mode="exec") -> AST Converts a string containing Python source code to an abstract syntax tree (AST). The AST is defined in compiler.ast. parseFile(path) -> AST The same as parse(open(path)) walk(ast, visitor, verbose=None) Does a pre-order walk over the ast using the visitor instance. See compiler.visitor for details. compile(source, filename, mode, flags=None, dont_inherit=None) Returns a code object. A replacement for the builtin compile() function. compileFile(filename) Generates a .pyc file by compiling filename. """ from warnings import warnpy3k warnpy3k("the compiler package has been removed in Python 3.0", stacklevel=2) del warnpy3k from compiler.transformer import parse, parseFile from compiler.visitor import walk from compiler.pycodegen import compile, compileFile