]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
[3.9] bpo-42540: reallocation of id_mutex should not force default allocator (GH...
authorSam Gross <colesbury@gmail.com>
Wed, 17 Nov 2021 22:53:33 +0000 (17:53 -0500)
committerGitHub <noreply@github.com>
Wed, 17 Nov 2021 22:53:33 +0000 (23:53 +0100)
commit87787c8774221c81602b31b0e0dc0678ad494e91
tree74170d3e701298c60a4c10b64342df1d5f807442
parentac89f8cab79800195687dd141de472f90c626ec3
[3.9] bpo-42540: reallocation of id_mutex should not force default allocator (GH-29564) (GH-29600)

Unlike the other locks reinitialized by _PyRuntimeState_ReInitThreads,
the "interpreters.main->id_mutex" is not freed by _PyRuntimeState_Fini
and should not force the default raw allocator..
(cherry picked from commit 736684b1bb67369a2e95a9f621752deead44e7ef)

Co-authored-by: Sam Gross <colesbury@gmail.com>
Lib/test/test_os.py
Misc/NEWS.d/next/Core and Builtins/2021-11-15-12-08-27.bpo-42540.V2w107.rst [new file with mode: 0644]
Python/pystate.c