]> granicus.if.org Git - python/commit
change MODULE_NAMESPACE/FUNCTION_NAMESPACE stuff to have a single flag
authorJeremy Hylton <jeremy@alum.mit.edu>
Sat, 12 Feb 2000 00:12:38 +0000 (00:12 +0000)
committerJeremy Hylton <jeremy@alum.mit.edu>
Sat, 12 Feb 2000 00:12:38 +0000 (00:12 +0000)
commit3050d515714ce7d3a52bcb159bea3e9300008cd3
treeead02270fae8000cd2f2afd6f1103dd080ee8170
parentdae108c6d8f481ca42b081ad77a71edcabbe47c6
change MODULE_NAMESPACE/FUNCTION_NAMESPACE stuff to have a single flag
named OPTIMIZED, which matches compile.c and makes more sense for
classes

revamp call signature for PythonVMCode.__init__; doesn't really matter
'cuz this code is going to be refactored out of existence

add generateClassCode and modify Func & Lambda generation

add support for nodes Classdef, Keyword,

fix CallFunc to generate right op arg when calling w/ keywords

add ugly hack to properly compute offsets when the same stack ref is
used multiple times
Lib/compiler/pycodegen.py
Tools/compiler/compiler/pycodegen.py