-
-
Notifications
You must be signed in to change notification settings - Fork 33.7k
bpo-40600: atexit only loads single time per interpreter #23699
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
vstinner
left a comment
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.
I would prefer to move the atexit list of callbacks into PyInterpreterState, and the atexit module would get the list from the current interpreter.
|
When you're done making the requested changes, leave the comment: And if you don't make the requested changes, you will be put in the comfy chair! |
|
@vstinner Ah okay, I will update the PR by tomorrow ;) |
d9bee4e to
9c4d2b0
Compare
68d795c to
eef1ce0
Compare
|
I have made the requested changes; please review again |
|
Thanks for making the requested changes! @vstinner: please review the changes made to this pull request. |
|
This is solved in a different way in bpo-42639. |
https://bugs.python.org/issue40600