Skip to content

bpo-38631: Replace tp_new_wrapper() fatal error with SystemError#18262

Merged
vstinner merged 1 commit intopython:masterfrom
vstinner:tp_new_wrapper
Jan 30, 2020
Merged

bpo-38631: Replace tp_new_wrapper() fatal error with SystemError#18262
vstinner merged 1 commit intopython:masterfrom
vstinner:tp_new_wrapper

Conversation

@vstinner
Copy link
Member

@vstinner vstinner commented Jan 29, 2020

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

https://bugs.python.org/issue38631

tp_new_wrapper() now raises a SystemError if called with non-type
self, rather than calling Py_FatalError() which cannot be catched.
@vstinner vstinner merged commit 2bf127d into python:master Jan 30, 2020
@vstinner vstinner deleted the tp_new_wrapper branch January 30, 2020 08:02
shihai1991 pushed a commit to shihai1991/cpython that referenced this pull request Jan 31, 2020
…honGH-18262)

tp_new_wrapper() now raises a SystemError if called with non-type
self, rather than calling Py_FatalError() which cannot be catched.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants