Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[3.9] bpo-42140: Improve asyncio.wait function (GH-22938) #23233

Merged
merged 1 commit into from
Nov 10, 2020

Commits on Nov 10, 2020

  1. bpo-42140: Improve asyncio.wait function (pythonGH-22938)

    GH- Improve asyncio.wait function
    
    The original code creates the futures set two times.
    We can create this set before, avoiding the second creation.
    
    This new behaviour [breaks the aiokafka library](aio-libs/aiokafka#672), because it gives an iterator to that function, so the second iteration become empty.
    
    Automerge-Triggered-By: GH:1st1
    (cherry picked from commit 7e5ef0a)
    
    Co-authored-by: Diogo Dutra <diogodutradamata@gmail.com>
    dutradda authored and miss-islington committed Nov 10, 2020
    Configuration menu
    Copy the full SHA
    a3e4788 View commit details
    Browse the repository at this point in the history