diff options
author | Jeremy Hylton <jeremy@alum.mit.edu> | 2000-02-10 17:20:39 (GMT) |
---|---|---|
committer | Jeremy Hylton <jeremy@alum.mit.edu> | 2000-02-10 17:20:39 (GMT) |
commit | 3e0910c10c5cd49ec3a3932fc611127e83ccc428 (patch) | |
tree | 310fd9090ce49c7676e847bd86629e493b5e7bfd /Lib/xmllib.py | |
parent | 13a2c279c504ae58c20baba5f0b3d1d6c0a85ed3 (diff) | |
download | cpython-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/xmllib.py')
0 files changed, 0 insertions, 0 deletions