◐ Shell
clean mode source ↗

bpo-40600: atexit only loads single time per interpreter by corona10 · Pull Request #23699 · python/cpython

Skip to content

Navigation Menu

Provide feedback

Saved searches

Use saved searches to filter your results more quickly

Sign up

Appearance settings

Conversation

vstinner

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.

@bedevere-bot

When you're done making the requested changes, leave the comment: I have made the requested changes; please review again.

And if you don't make the requested changes, you will be put in the comfy chair!

@corona10

@vstinner Ah okay, I will update the PR by tomorrow ;)

@corona10

I have made the requested changes; please review again

@bedevere-bot

Thanks for making the requested changes!

@vstinner: please review the changes made to this pull request.

@corona10 corona10 changed the title bpo-40600: atexit only loads sinle time per interpreter bpo-40600: atexit only loads single time per interpreter

Dec 10, 2020

@encukou

This is solved in a different way in bpo-42639.
Thank you for working on this issue, even though this PR didn't make it in!

Labels