Skip to content

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

Closed
@kristjanvalur

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    Status

    Done

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions