]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
Raise RuntimeError if the second argument to isinstance() or issubclass()
authorBrett Cannon <bcannon@gmail.com>
Sat, 20 Mar 2004 21:54:35 +0000 (21:54 +0000)
committerBrett Cannon <bcannon@gmail.com>
Sat, 20 Mar 2004 21:54:35 +0000 (21:54 +0000)
commit9aee99be160370fc9d35566d28532f29bbaafd71
treebe3128640a84656e84227536525a9452f0d63786
parent544f4e7132bccd60df7eac71bca570c750322b68
Raise RuntimeError if the second argument to isinstance() or issubclass()
is a tuple nested to a depth beyond the interpreter's recursion limit to
prevent a segfault from blowing the C stack.
Fixes bug #858016 .
Lib/test/test_isinstance.py
Misc/NEWS
Objects/abstract.c