diff options
author | Miss Islington (bot) <31488909+miss-islington@users.noreply.github.com> | 2023-06-08 22:35:53 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-06-08 22:35:53 (GMT) |
commit | 77c03a3b7241a8476665db89f058bb6eb15f8abb (patch) | |
tree | c345b60f5be8dc9a610f69b9d314dc3f472e9f92 /Python/compile.c | |
parent | 3eccd95f56f2c360ec39a37e15ce7e9c3f134528 (diff) | |
download | cpython-77c03a3b7241a8476665db89f058bb6eb15f8abb.zip cpython-77c03a3b7241a8476665db89f058bb6eb15f8abb.tar.gz cpython-77c03a3b7241a8476665db89f058bb6eb15f8abb.tar.bz2 |
[3.12] gh-100227: Lock Around Modification of the Global Allocators State (gh-105516) (gh-105532)
The risk of a race with this state is relatively low, but we play it safe anyway. We do avoid using the lock in performance-sensitive cases where the risk of a race is very, very low.
(cherry picked from commit 68dfa496278aa21585eb4654d5f7ef13ef76cb50)
Co-authored-by: Eric Snow <ericsnowcurrently@gmail.com>
Diffstat (limited to 'Python/compile.c')
0 files changed, 0 insertions, 0 deletions