[issue36724] Clear _PyRuntime at exit

2020-06-04 Thread STINNER Victor
STINNER Victor added the comment: > _PyRuntime.warnings is not cleared at Python exit: 3 objects are kept alive > even after Py_Finalize(). This issue has been fixed. Moreover, the GC state is now per-interpreter. -- resolution: -> fixed stage: patch review -> resolved status: open

[issue36724] Clear _PyRuntime at exit

2020-06-03 Thread STINNER Victor
Change by STINNER Victor : -- components: +Subinterpreters ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: ht

[issue36724] Clear _PyRuntime at exit

2019-06-04 Thread STINNER Victor
STINNER Victor added the comment: bpo-36818 caused a regression: https://bugs.python.org/issue37135#msg344511 We should be careful when we modify Python finalization, especially with daemon threads. -- ___ Python tracker

[issue36724] Clear _PyRuntime at exit

2019-04-25 Thread STINNER Victor
STINNER Victor added the comment: New changeset 87d23a041d9efb743c5680ac23305f300e51 by Victor Stinner in branch 'master': bpo-36724: Add _PyWarnings_Fini() (#12963) https://github.com/python/cpython/commit/87d23a041d9efb743c5680ac23305f300e51 -- ___

[issue36724] Clear _PyRuntime at exit

2019-04-25 Thread STINNER Victor
Change by STINNER Victor : -- keywords: +patch pull_requests: +12889 stage: -> patch review ___ Python tracker ___ ___ Python-bugs-

[issue36724] Clear _PyRuntime at exit

2019-04-25 Thread STINNER Victor
New submission from STINNER Victor : _PyRuntime.warnings is not cleared at Python exit: 3 objects are kept alive even after Py_Finalize(). See bpo-36356 which cleared some other variables. PR 12453 "bpo-36356: Destroy the GIL at exit" is still open. -- components: Interpreter Core me