◐ Shell
clean mode source ↗

bpo-40288: atexit supports more than once loading per interpreter by corona10 · Pull Request #19562 · python/cpython

Skip to content

Navigation Menu

Sign in

Appearance settings

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up

Appearance settings

Conversation

@corona10

@corona10 corona10 commented

Apr 17, 2020

edited by bedevere-bot

Loading

Copy link Copy Markdown

Member

@corona10

Copy link Copy Markdown

Member Author

./python.exe -m test test_atexit -R 3:3
0:00:00 load avg: 2.03 Run tests sequentially
0:00:00 load avg: 2.03 [1/1] test_atexit
beginning 6 repetitions
123456
......

== Tests result: SUCCESS ==

1 test OK.

Total duration: 1.3 sec
Tests result: SUCCESS

@vstinner

Copy link Copy Markdown

Member

@ericsnowcurrently: Do you have an opinion on https://bugs.python.org/issue40288 ? Should we allow to create multiple instances of the atexit module per interpreter? Or should we raise an exception?

@corona10 corona10 closed this

Dec 19, 2020

@corona10 corona10 deleted the bpo-40288 branch

December 19, 2020 01:20

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Reviewers

@vstinner vstinner Awaiting requested review from vstinner

@ericsnowcurrently ericsnowcurrently Awaiting requested review from ericsnowcurrently

Assignees

No one assigned

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

4 participants

@corona10 @vstinner @the-knights-who-say-ni @bedevere-bot