Skip to content

Conversation

@miss-islington
Copy link
Contributor

@miss-islington miss-islington commented Jul 3, 2018

PyErr_Print() will not return when the exception is a SystemExit, so
decref the main module object in that case.
(cherry picked from commit d8cba5d)

Co-authored-by: Zackery Spytz zspytz@gmail.com

https://bugs.python.org/issue24596

…ythonGH-7918)

PyErr_Print() will not return when the exception is a SystemExit, so
decref the __main__ module object in that case.
(cherry picked from commit d8cba5d)

Co-authored-by: Zackery Spytz <zspytz@gmail.com>
@miss-islington
Copy link
Contributor Author

@ZackerySpytz and @pitrou: Backport status check is done, and it's a success ✅ .

@pitrou pitrou merged commit e1ebf51 into python:3.6 Jul 3, 2018
@miss-islington miss-islington deleted the backport-d8cba5d-3.6 branch July 3, 2018 20:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants