summaryrefslogtreecommitdiffstats
path: root/Python/future.c
diff options
context:
space:
mode:
authorDino Viehland <dinoviehland@meta.com>2024-02-15 18:54:57 (GMT)
committerGitHub <noreply@github.com>2024-02-15 18:54:57 (GMT)
commitae460d450ab854ca66d509ef6971cfe1b6312405 (patch)
tree25cbb65be2f0f0779ff37174751026e8fd262dde /Python/future.c
parente74fa294c9b0c67bfcbefdda5a069f0a7648f524 (diff)
downloadcpython-ae460d450ab854ca66d509ef6971cfe1b6312405.zip
cpython-ae460d450ab854ca66d509ef6971cfe1b6312405.tar.gz
cpython-ae460d450ab854ca66d509ef6971cfe1b6312405.tar.bz2
gh-113743: Make the MRO cache thread-safe in free-threaded builds (#113930)
Makes _PyType_Lookup thread safe, including: Thread safety of the underlying cache. Make mutation of mro and type members thread safe Also _PyType_GetMRO and _PyType_GetBases are currently returning borrowed references which aren't safe.
Diffstat (limited to 'Python/future.c')
0 files changed, 0 insertions, 0 deletions