Fix a crasher where Python code managed to infinitely recurse in C code without
commit768f523ec58d0fbab7f1c5fd7f93955533e32ff0
authorbrett.cannon <brett.cannon@6015fed2-1504-0410-9fe1-9d1591cc4771>
Fri, 7 Sep 2007 04:18:30 +0000 (7 04:18 +0000)
committerbrett.cannon <brett.cannon@6015fed2-1504-0410-9fe1-9d1591cc4771>
Fri, 7 Sep 2007 04:18:30 +0000 (7 04:18 +0000)
tree6af7d7c73a18a5129a5eeadf8da1f82ac8a3a908
parent85c8364bcc8665037ccd39ccbd82bf4af087a1ce
Fix a crasher where Python code managed to infinitely recurse in C code without
ever going back out to Python code in PyObject_Call().  Required introducing a
static RuntimeError instance so that normalizing an exception there is no
reliance on a recursive call that would put the exception system over the
recursion check itself.

git-svn-id: http://svn.python.org/projects/python/trunk@58032 6015fed2-1504-0410-9fe1-9d1591cc4771
Include/pyerrors.h
Lib/test/crashers/infinite_rec_1.py [deleted file]
Lib/test/crashers/infinite_rec_2.py [deleted file]
Lib/test/crashers/infinite_rec_4.py [deleted file]
Lib/test/crashers/infinite_rec_5.py [deleted file]
Lib/test/test_descr.py
Misc/NEWS
Objects/abstract.c
Objects/exceptions.c
Objects/typeobject.c
Python/errors.c