• Armin Rigo's avatar
    Fix for an obscure bug introduced by revs 46806 and 46808, with a test. · 53c1692f
    Armin Rigo yazdı
    The problem of checking too eagerly for recursive calls is the
    following: if a RuntimeError is caused by recursion, and if code needs
    to normalize it immediately (as in the 2nd test), then
    PyErr_NormalizeException() needs a call to the RuntimeError class to
    instantiate it, and this hits the recursion limit again...  causing
    PyErr_NormalizeException() to never finish.
    
    Moved this particular recursion check to slot_tp_call(), which is not
    involved in instantiating built-in exceptions.
    
    Backport candidate.
    53c1692f
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...
PCbuild8 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...