cpython/Lib/collections
Miss Islington (bot) d46d291bd3
[3.13] gh-125245: Fix race condition when importing `collections.abc` (GH-125415) (GH-125944)
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.
(cherry picked from commit fed501d724)

Co-authored-by: Sam Gross <colesbury@gmail.com>
2024-10-24 22:38:45 +00:00
..
__init__.py [3.13] gh-125245: Fix race condition when importing `collections.abc` (GH-125415) (GH-125944) 2024-10-24 22:38:45 +00:00