-
-
Notifications
You must be signed in to change notification settings - Fork 32.1k
bpo-38037: Fix reference counters in signal module #15753
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM.
@nanjekyejoannah: Would you mind to review it as well?
LGTM. |
I managed to reproduce https://bugs.python.org/issue38037#msg351196 crash using this change:
Start Python, exit Python: Python does crash at exit. I confirm that this change fix the crash. |
Thanks @animalize for the PR, and @vstinner for merging it 🌮🎉.. I'm working now to backport this PR to: 3.8. |
(cherry picked from commit 77643c4) Co-authored-by: animalize <[email protected]>
GH-15779 is a backport of this pull request to the 3.8 branch. |
(cherry picked from commit 77643c4) Co-authored-by: animalize <[email protected]>
Only 3.8 and 3.9 branches are affected.
Use
PyDict_SetItemString()
in this PR.https://bugs.python.org/issue38037