diff options
author | Miss Islington (bot) <31488909+miss-islington@users.noreply.github.com> | 2024-06-17 22:13:40 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-06-17 22:13:40 (GMT) |
commit | 71ad34d2190a1f16ac7dbc70b8bce8c6b2549109 (patch) | |
tree | 2cf5b04b86885324725bb7b2efa89f64d890c4be /Lib/test/test_pydoc/test_pydoc.py | |
parent | 396f8b0b98441344e1d3223a4075e5e342e0c2df (diff) | |
download | cpython-71ad34d2190a1f16ac7dbc70b8bce8c6b2549109.zip cpython-71ad34d2190a1f16ac7dbc70b8bce8c6b2549109.tar.gz cpython-71ad34d2190a1f16ac7dbc70b8bce8c6b2549109.tar.bz2 |
[3.13] gh-120524: Avoid a Race On _PyRuntime.types.managed_static.types[i].interp_count (gh-120657)
gh-120182 added new global state (interp_count), but didn't add thread-safety for it. This change eliminates the possible race.
(cherry picked from commit 2c66318cdc0545da37e7046533dfe74bde129d91, AKA gh-120529)
Co-authored-by: Eric Snow <ericsnowcurrently@gmail.com>
Diffstat (limited to 'Lib/test/test_pydoc/test_pydoc.py')
0 files changed, 0 insertions, 0 deletions