◐ Shell
reader mode source ↗
Skip to content

bpo-40288: atexit supports more than once loading per interpreter #19562

Closed
corona10 wants to merge 3 commits into
python:masterfrom
corona10:bpo-40288
Closed

bpo-40288: atexit supports more than once loading per interpreter #19562
corona10 wants to merge 3 commits into
python:masterfrom
corona10:bpo-40288

Conversation

@corona10

@corona10 corona10 commented Apr 17, 2020

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

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants