cpython/Lib/asyncio
Miss Islington (bot) 50504817a8
[3.15] gh-155233: Fix asyncio.Barrier reusing a cancelled task's index (alternative to GH-155235) (GH-158957) (#161410)
gh-155233: Fix asyncio.Barrier reusing a cancelled task's index (alternative to GH-155235) (GH-158957)

* Initial commit:
- add a private ``_index`` attr
- add a test

Co-authored-by: Sreehari Annam

* 📜🤖 Added by blurb_it.

* Apply suggestions from code review

* Update Lib/asyncio/locks.py

* Update Lib/asyncio/locks.py

---------
(cherry picked from commit 49c43f7de0)

Co-authored-by: Duprat <yduprat@gmail.com>
Co-authored-by: blurb-it[bot] <43283697+blurb-it[bot]@users.noreply.github.com>
Co-authored-by: Andrew Svetlov <andrew.svetlov@gmail.com>
2026-11-05 13:00:47 +01:00
..
__init__.py
__main__.py
base_events.py
base_futures.py
base_subprocess.py
base_tasks.py
constants.py gh-95649: Document that asyncio contains uvloop code (#107536) 2024-01-12 22:21:13 +00:00
coroutines.py
events.py
exceptions.py
format_helpers.py
futures.py
graph.py
locks.py [3.15] gh-155233: Fix asyncio.Barrier reusing a cancelled task's index (alternative to GH-155235) (GH-158957) (#161410) 2026-11-05 13:00:47 +01:00
log.py
mixins.py
proactor_events.py [3.15] gh-160429: Ignore ConnectionResetError from shutdown() when closing proactor sockets (GH-160909) (#161391) 2026-11-05 12:37:31 +01:00
protocols.py
queues.py
runners.py
selector_events.py
sslproto.py [3.15] gh-159875: Keep the SSL protocol of a closed transport after connection loss (GH-160069) (#161209) 2026-11-02 23:14:17 +01:00
staggered.py
streams.py
subprocess.py
taskgroups.py
tasks.py
threads.py
timeouts.py
tools.py [3.15] gh-159168: Fix RecursionError in asyncio pstree on a deep chain of tasks (GH-159170) (#161176) 2026-11-02 14:24:35 +01:00
transports.py
trsock.py
unix_events.py
windows_events.py [3.15] gh-93821: Keep asyncio proactor servers accepting after a connection reset (GH-161238) (#161308) 2026-11-04 11:37:58 +00:00
windows_utils.py