]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
bpo-39776: Lock ++interp->tstate_next_unique_id (GH-18746)
authorStefan Krah <skrah@bytereef.org>
Tue, 3 Mar 2020 08:19:58 +0000 (09:19 +0100)
committerGitHub <noreply@github.com>
Tue, 3 Mar 2020 08:19:58 +0000 (09:19 +0100)
commit852aee69f49c654a03ad1f64d90a78ba8848e2c6
tree6a7036d1d48565cdd9c85347bef63a9fa50c12d3
parent72fff60d7649df88026838d8b5f14f541393f268
 bpo-39776: Lock ++interp->tstate_next_unique_id (GH-18746)

- 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