Skip to content

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

@twisteroidambassador

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    stdlibPython modules in the Lib dirtestsTests in the Lib/test dirtopic-asynciotype-bugAn unexpected behavior, bug, or error

    Projects

    Status

    Done

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      pFad - Phonifier reborn

      Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

      Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


      Alternative Proxies:

      Alternative Proxy

      pFad Proxy

      pFad v3 Proxy

      pFad v4 Proxy