• Jeremy Hylton's avatar
    Various sundry changes for 2.2 compatibility · 1e99a771
    Jeremy Hylton yazdı
    Remove the option to have nested scopes or old LGB scopes.  This has a
    large impact on the code base, by removing the need for two variants
    of each CodeGenerator.
    
    Add a get_module() method to CodeGenerator objects, used to get the
    future features for the current module.
    
    Set CO_GENERATOR, CO_GENERATOR_ALLOWED, and CO_FUTURE_DIVISION flags
    as appropriate.
    
    Attempt to fix the value of nlocals in newCodeObject(), assuming that
    nlocals is 0 if CO_NEWLOCALS is not defined.
    1e99a771
Adı
Son kayıt (commit)
Son güncelleme
..
__init__.py Loading commit data...
ast.py Loading commit data...
consts.py Loading commit data...
future.py Loading commit data...
misc.py Loading commit data...
pyassem.py Loading commit data...
pycodegen.py Loading commit data...
symbols.py Loading commit data...
transformer.py Loading commit data...
visitor.py Loading commit data...