]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
bpo-38631: Replace tp_new_wrapper() fatal error with SystemError (GH-18262)
authorVictor Stinner <vstinner@python.org>
Thu, 30 Jan 2020 08:02:49 +0000 (09:02 +0100)
committerGitHub <noreply@github.com>
Thu, 30 Jan 2020 08:02:49 +0000 (09:02 +0100)
commit2bf127d97bd1d60ead7c20d429b0c61ef61fc554
tree8cc2a56c733b4b788ce504afb56d167c56901125
parent7a1f6c2da46a04d0ff0acc01542f30bfeaf0e0c7
bpo-38631: Replace tp_new_wrapper() fatal error with SystemError (GH-18262)

tp_new_wrapper() now raises a SystemError if called with non-type
self, rather than calling Py_FatalError() which cannot be catched.
Objects/typeobject.c