mirror of
https://github.com/python/cpython
synced 2026-11-06 09:02:40 +03:00
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
|
||
|---|---|---|
| .. | ||
| __init__.py | ||
| __main__.py | ||
| base_events.py | ||
| base_futures.py | ||
| base_subprocess.py | ||
| base_tasks.py | ||
| constants.py | ||
| coroutines.py | ||
| events.py | ||
| exceptions.py | ||
| format_helpers.py | ||
| futures.py | ||
| graph.py | ||
| locks.py | ||
| log.py | ||
| mixins.py | ||
| proactor_events.py | ||
| protocols.py | ||
| queues.py | ||
| runners.py | ||
| selector_events.py | ||
| sslproto.py | ||
| staggered.py | ||
| streams.py | ||
| subprocess.py | ||
| taskgroups.py | ||
| tasks.py | ||
| threads.py | ||
| timeouts.py | ||
| tools.py | ||
| transports.py | ||
| trsock.py | ||
| unix_events.py | ||
| windows_events.py | ||
| windows_utils.py | ||