]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
bpo-39776: Lock ++interp->tstate_next_unique_id. (GH-18746) (#18746) (#18752)
authorStefan Krah <skrah@bytereef.org>
Tue, 3 Mar 2020 08:18:55 +0000 (09:18 +0100)
committerGitHub <noreply@github.com>
Tue, 3 Mar 2020 08:18:55 +0000 (09:18 +0100)
commit5a92f42d8723ee865be80f028d402204649da15d
tree97fa71b2c400f514e26d86748e2e23cf6aed3e0c
parent1827fc30f463786ebff13752e35c3224652bc94e
 bpo-39776: Lock ++interp->tstate_next_unique_id. (GH-18746) (#18746) (#18752)

- Threads created by PyGILState_Ensure() could have a duplicate tstate->id.

(cherry picked from commit b3b9ade4a3d3fe00d933bcd8fc5c5c755d1024f9)
Misc/NEWS.d/next/Core and Builtins/2020-03-02-20-12-33.bpo-39776.fNaxi_.rst [new file with mode: 0644]
Python/pystate.c