Skip to content

[3.14] gh-155233: Fix asyncio.Barrier reusing a cancelled task's index (alternative to GH-155235) (GH-158957) - #161411

Merged
asvetlov merged 1 commit into
python:3.14from
miss-islington:backport-49c43f7-3.14
Nov 5, 2026
Merged

asvetlov merged 1 commit into
python:3.14from
miss-islington:backport-49c43f7-3.14

Conversation

@miss-islington

@miss-islington miss-islington commented Nov 5, 2026 •

Copy link
Copy Markdown
Contributor
  • 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 49c43f7)

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

… (alternative to pythonGH-155235) (pythonGH-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 49c43f7)

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>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants