Skip to content

bpo-29587: PyErr_SetObject() rejects exception=None#19902

Merged
vstinner merged 2 commits intopython:masterfrom
vstinner:exc_none
May 5, 2020
Merged

bpo-29587: PyErr_SetObject() rejects exception=None#19902
vstinner merged 2 commits intopython:masterfrom
vstinner:exc_none

Conversation

@vstinner
Copy link
Copy Markdown
Member

@vstinner vstinner commented May 4, 2020

Add an assertion to _PyErr_Occurred() and _PyErr_ChainExceptions() to
ensure that the exception type is not None.

Remove XXX comment and add gi_exc_state variable to _gen_throw().

https://bugs.python.org/issue29587

Loading
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.

4 participants