Skip to content

Tests for happy eyeballs + working around bug in wait_for #98388

Closed

Description

@twisteroidambassador

Bug report

The happy eyeballs implementation in asyncio is potentially affected by #86296 , i.e. where asyncio.wait_for may swallow cancellation.

I have added some tests for this particular problem, and some more tests for other aspects of happy eyeballs, because I didn't write any when first contributing the implementation. My bad.

The current PR only contains the tests. I'll do the actual fix later.

Linked PRs

Activity

  1. added
    type-bug
    on Oct 18, 2022
  2. added
    tests
    stdlib
    on Jul 7, 2025
  3. added a commit that references this issue on Jul 7, 2025
  4. moved this from Todo to Done in asyncioon Jul 7, 2025
  5. added a commit that references this issue on Jul 11, 2025
  6. added a commit that references this issue on Jul 12, 2025
  7. added a commit that references this issue on Jul 13, 2025
  8. added a commit that references this issue on Aug 4, 2025
  9. added a commit that references this issue on Aug 19, 2025
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

    stdlibteststopic-asynciotype-bug

    Projects

    • Status
      Done

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions