summaryrefslogtreecommitdiff
path: root/Lib/compiler/consts.py
diff options
context:
space:
mode:
authorJeremy Hylton <jeremy@alum.mit.edu>2000-02-04 19:37:35 +0000
committerJeremy Hylton <jeremy@alum.mit.edu>2000-02-04 19:37:35 +0000
commit0fdffcf9163c7d5dd18f74f7fad50d42fec60c3d (patch)
tree5e7f4aa2f89a510b3821f27ff828ae47abb0fc30 /Lib/compiler/consts.py
parent1fdae12c93246fcf4abbf882ba08df789070dfcc (diff)
downloadcpython-git-0fdffcf9163c7d5dd18f74f7fad50d42fec60c3d.tar.gz
rapid evolution towards producing real .pyc files (even though I don't
handle most of the language syntax yet) create NestedCodeGenerator used to generator the separate code object that needs to be passed as an argument to MAKE_FUNCTION when a def stmt is found (probably useful for class too) change CodeGenerator.visitFunction to use the NestedCG add CompiledModule class to handle creation of .pyc (pretty minimal for now) add makeCodeObject method to PythonVMCode that replaces symbolic names with indexes into slots of the code code. the design of this class will probably need to be revised.
Diffstat (limited to 'Lib/compiler/consts.py')
0 files changed, 0 insertions, 0 deletions