]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
bpo-42540: reallocation of id_mutex should not force default allocator (GH-29564)
authorSam Gross <colesbury@gmail.com>
Wed, 17 Nov 2021 20:51:03 +0000 (15:51 -0500)
committerGitHub <noreply@github.com>
Wed, 17 Nov 2021 20:51:03 +0000 (21:51 +0100)
commit736684b1bb67369a2e95a9f621752deead44e7ef
treee44ba8b1d9cc2fa9d4607896cf28096594a6e0d1
parentb919d8105c4d77f00509b6d3ab2073f09db640de
bpo-42540: reallocation of id_mutex should not force default allocator (GH-29564)

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.
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