summaryrefslogtreecommitdiffstats
path: root/Lib/mimify.py
diff options
context:
space:
mode:
authorJeremy Hylton <jeremy@alum.mit.edu>2000-02-10 17:20:39 (GMT)
committerJeremy Hylton <jeremy@alum.mit.edu>2000-02-10 17:20:39 (GMT)
commit3e0910c10c5cd49ec3a3932fc611127e83ccc428 (patch)
tree310fd9090ce49c7676e847bd86629e493b5e7bfd /Lib/mimify.py
parent13a2c279c504ae58c20baba5f0b3d1d6c0a85ed3 (diff)
downloadcpython-3e0910c10c5cd49ec3a3932fc611127e83ccc428.zip
cpython-3e0910c10c5cd49ec3a3932fc611127e83ccc428.tar.gz
cpython-3e0910c10c5cd49ec3a3932fc611127e83ccc428.tar.bz2
add namespace attr to CodeGenerator, can be either MODULE_NAMESPACE or
FUNCTION_NAMESPACE. initialize in __init__ and reset in generateFunctionCode. replace direct issue of STORE_FAST, STORE_GLOBAL, etc. with call to storeName; same for loadName and deleteName the new {store,load,delete}Name methods use the namespace attr and the local variable stack to determine the correct bytecode to issue
Diffstat (limited to 'Lib/mimify.py')
0 files changed, 0 insertions, 0 deletions