[issue36225] [subinterpreters] Lingering subinterpreters should be implicitly cleared on shutdown

2021-12-16 Thread Chris Roberts
Change by Chris Roberts : -- nosy: +nasageek ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue36225] [subinterpreters] Lingering subinterpreters should be implicitly cleared on shutdown

2020-10-26 Thread STINNER Victor
STINNER Victor added the comment: If tomorrow Python allows to run two interpreters in parallel (see bpo-40512: "Meta issue: per-interpreter GIL"), I don't think that it will be safe to execute object finalizers of a subinterpreter from the main interpreter in Py_Finalize(). IMO

[issue36225] [subinterpreters] Lingering subinterpreters should be implicitly cleared on shutdown

2020-10-22 Thread Eric Snow
Eric Snow added the comment: > I see multiple non trivial problems: > > * To finalize the subinterpreter A, Py_Finalize() may switch the current > Python thread state from the main interpreter to a Python thread in the > subintrepeter A. It can lead to new funny issues. I'm not sure what

[issue36225] [subinterpreters] Lingering subinterpreters should be implicitly cleared on shutdown

2020-06-15 Thread STINNER Victor
STINNER Victor added the comment: I would not qualify the new Python 3.7 behavior (call Py_FatalError()) as a regression, so I remove "3.7regression" keyword. Also, I don't think that we can easily fix this issue in a stable branch, I would prefer to start working on implementation this

[issue36225] [subinterpreters] Lingering subinterpreters should be implicitly cleared on shutdown

2020-06-12 Thread Ned Deily
Ned Deily added the comment: I note this is marked as a 3.7regression and still open. Since the cutoff for the final 3.7 bugfix mode release is in a few days, I'm assuming this means that 3.7 users will have to live with this regression. If you feel that is a problem, speak up now.

[issue36225] [subinterpreters] Lingering subinterpreters should be implicitly cleared on shutdown

2020-05-14 Thread STINNER Victor
Change by STINNER Victor : -- components: +Subinterpreters title: Lingering subinterpreters should be implicitly cleared on shutdown -> [subinterpreters] Lingering subinterpreters should be implicitly cleared on shutdown ___ Python tracker