/usr/lib64/python2.6/compiler
NameSizeModeActions
ast.py358320644editdlrm
ast.pyc692650644editdlrm
ast.pyo692650644editdlrm
consts.py4360644editdlrm
consts.pyc6920644editdlrm
consts.pyo6920644editdlrm
future.py18930644editdlrm
future.pyc29780644editdlrm
future.pyo29780644editdlrm
misc.py17940644editdlrm
misc.pyc37550644editdlrm
misc.pyo37550644editdlrm
pyassem.py261530644editdlrm
pyassem.pyc279440644editdlrm
pyassem.pyo274850644editdlrm
pycodegen.py471010644editdlrm
pycodegen.pyc557640644editdlrm
pycodegen.pyo552890644editdlrm
symbols.py144270644editdlrm
symbols.pyc178330644editdlrm
symbols.pyo177970644editdlrm
syntax.py14440644editdlrm
syntax.pyc18840644editdlrm
syntax.pyo18840644editdlrm
transformer.py516180644editdlrm
transformer.pyc473350644editdlrm
transformer.pyo455750644editdlrm
visitor.py38960644editdlrm
visitor.pyc42150644editdlrm
visitor.pyo42150644editdlrm
__init__.py9990644editdlrm
__init__.pyc12790644editdlrm
__init__.pyo12790644editdlrm
Edit: /usr/lib64/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