• Jeremy Hylton's avatar
    Fix PyFrame_FastToLocals() and counterpart to deal with cells and · 220ae7c0
    Jeremy Hylton yazdı
    frees.  Note there doesn't seem to be any way to test LocalsToFast(),
    because the instructions that trigger it are illegal in nested scopes
    with free variables.
    
    Fix allocation strategy for cells that are also formal parameters.
    Instead of emitting LOAD_FAST / STORE_DEREF pairs for each parameter,
    have the argument handling code in eval_code2() do the right thing.
    
    A side-effect of this change is that cell variables that are also
    arguments are listed at the front of co_cellvars in the order they
    appear in the argument list.
    220ae7c0
Adı
Son kayıt (commit)
Son güncelleme
Demo Loading commit data...
Doc Loading commit data...
Grammar Loading commit data...
Include Loading commit data...
Lib Loading commit data...
Mac Loading commit data...
Misc Loading commit data...
Modules Loading commit data...
Objects Loading commit data...
PC Loading commit data...
PCbuild Loading commit data...
Parser Loading commit data...
Python Loading commit data...
RISCOS Loading commit data...
Tools Loading commit data...
.cvsignore Loading commit data...
.hgtags Loading commit data...
LICENSE Loading commit data...
Makefile.pre.in Loading commit data...
README Loading commit data...
acconfig.h Loading commit data...
config.h.in Loading commit data...
configure Loading commit data...
configure.in Loading commit data...
install-sh Loading commit data...
setup.py Loading commit data...