• Guido van Rossum's avatar
    Make StopIteration a sink state. This is done by clearing out the · 2147df74
    Guido van Rossum yazdı
    di_dict field when the end of the list is reached.  Also make the
    error ("dictionary changed size during iteration") a sticky state.
    
    Also remove the next() method -- one is supplied automatically by
    PyType_Ready() because the tp_iternext slot is set.  That's a good
    thing, because the implementation given here was buggy (it never
    raised StopIteration).
    2147df74
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...
PLAN.txt 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...