Skip to content

asyncio.Condition.wait() sometimes propagates incorrect asyncio.CancelledError #111693

Description

@kristjanvalur

Bug report

Bug description:

asyncio.Condition.wait() contains an edge case where a CancelledError on lock re-aquire is overwritten with a fresh CancelledError instance.

CPython versions tested on:

CPython main branch

Operating systems tested on:

Windows

Linked PRs

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    • Status
      Done

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions