• Guido van Rossum's avatar
    Fix a leak in instance_coerce(). This was introduced by Neil's · 24f67d56
    Guido van Rossum yazdı
    earlier coercion changes, not by rich comparisons.  When a coercion
    function returns 1 (meaning it cannot do it), it should not INCREF the
    arguments.  When no __coerce__() method was found, instance_coerce()
    originally returned 0, pretending it did it.  Neil changed the return
    value to 1, more accurately reflecting that it didn't do anything, but
    forgot to take out the two INCREF calls.
    24f67d56
Adı
Son kayıt (commit)
Son güncelleme
BeOS Loading commit data...
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...
Tools Loading commit data...
.cvsignore Loading commit data...
.hgtags Loading commit data...
LICENSE Loading commit data...
Makefile.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.cfg.in Loading commit data...
setup.py Loading commit data...