diff options
author | Sam Gross <colesbury@gmail.com> | 2024-10-24 22:12:51 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-10-24 22:12:51 (GMT) |
commit | fed501d7247053ce46a2ba512bf0e4bb4f483be6 (patch) | |
tree | 11005e6c0fd2af498b0eb019b26809aea672c2f9 /Python/errors.c | |
parent | 332356b880576a1a00b5dc34f03d7d3995dd4512 (diff) | |
download | cpython-fed501d7247053ce46a2ba512bf0e4bb4f483be6.zip cpython-fed501d7247053ce46a2ba512bf0e4bb4f483be6.tar.gz cpython-fed501d7247053ce46a2ba512bf0e4bb4f483be6.tar.bz2 |
gh-125245: Fix race condition when importing `collections.abc` (#125415)
If multiple threads concurrently imported `collections.abc`, some of the
threads might incorrectly see the "shim" `Lib/collections/abc.py` module
instead of the correct `Lib/_collections_abc.py` module. This affected
both the free threading build and the default GIL-enabled build.
Diffstat (limited to 'Python/errors.c')
0 files changed, 0 insertions, 0 deletions