diff options
author | Miss Islington (bot) <31488909+miss-islington@users.noreply.github.com> | 2024-06-26 21:56:13 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-06-26 21:56:13 (GMT) |
commit | c83997476f9bcb28af02296c3c74c1549dcd9f35 (patch) | |
tree | 29cac01732fa6a6b7def0d1c1513f857a8317a20 /Objects/capsule.c | |
parent | c052b192aaa05eeedb1bd50e0658e2d836ffa581 (diff) | |
download | cpython-c83997476f9bcb28af02296c3c74c1549dcd9f35.zip cpython-c83997476f9bcb28af02296c3c74c1549dcd9f35.tar.gz cpython-c83997476f9bcb28af02296c3c74c1549dcd9f35.tar.bz2 |
[3.13] gh-113433: Automatically Clean Up Subinterpreters in Py_Finalize() (gh-121067)
This change makes things a little less painful for some users. It also fixes a failing assert (gh-120765), by making sure all subinterpreters are destroyed before the main interpreter. As part of that, we make sure Py_Finalize() always runs with the main interpreter active.
(cherry picked from commit 4be1f37b20bd51498d3adf8ad603095c0f38d6e5, AKA gh-121060)
Co-authored-by: Eric Snow <ericsnowcurrently@gmail.com>
Diffstat (limited to 'Objects/capsule.c')
0 files changed, 0 insertions, 0 deletions