]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
Fix a crasher where Python code managed to infinitely recurse in C code without
authorBrett Cannon <bcannon@gmail.com>
Fri, 7 Sep 2007 04:18:30 +0000 (04:18 +0000)
committerBrett Cannon <bcannon@gmail.com>
Fri, 7 Sep 2007 04:18:30 +0000 (04:18 +0000)
commit1e534b5425d836cb58a73d24f0be791d67bf3503
tree1f9fc8b8802c5ba236c026fc6cbe785d7f9bf20b
parent68a6da99e6dc127d817143f74e98d665117f99c2
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.
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