• Phillip J. Eby's avatar
    Fix SF#1470508: crash in generator cycle finalization. There were two · 8ebb28df
    Phillip J. Eby yazdı
    problems: first, PyGen_NeedsFinalizing() had an off-by-one bug that
    prevented it from ever saying a generator didn't need finalizing, and
    second, frame objects cleared themselves in a way that caused their
    owning generator to think they were still executable, causing a double
    deallocation of objects on the value stack if there was still a loop
    on the block stack.  This revision also removes some unnecessary
    close() operations from test_generators that are now appropriately
    handled by the cycle collector.
    8ebb28df
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...
.hgtags Loading commit data...
LICENSE Loading commit data...
Makefile.pre.in Loading commit data...
README Loading commit data...
configure Loading commit data...
configure.in Loading commit data...
install-sh Loading commit data...
pyconfig.h.in Loading commit data...
setup.py Loading commit data...