Message307574
I created a PR with fix on this issue - https://github.com/python/cpython/pull/4611
This makes Py_EndInterpreter() call atexit callbacks for the subinterpreter it is destroying.
It doesn't make Py_Finalize() end all subinterpreters, as the current implementation of subinterpreters makes it hard to do so. This is the same as the current behaviour: you need to end all subinterpreters before calling Py_Finalize(). |
|
Date |
User |
Action |
Args |
2017-12-04 15:52:34 | Dormouse759 | set | recipients:
+ Dormouse759, ncoghlan, grahamd, petr.viktorin, eric.snow |
2017-12-04 15:52:34 | Dormouse759 | set | messageid: <1512402754.79.0.213398074469.issue31901@psf.upfronthosting.co.za> |
2017-12-04 15:52:34 | Dormouse759 | link | issue31901 messages |
2017-12-04 15:52:34 | Dormouse759 | create | |
|