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.8] bpo-42230: Improve asyncio documentation regarding accepting sets vs iterables (GH-23073) #23105

Merged
merged 1 commit into from
Nov 2, 2020

Commits on Nov 2, 2020

  1. [3.8] bpo-42230: Improve asyncio documentation regarding accepting se…

    …ts vs iterables (pythonGH-23073)
    
    People call wait() and as_completed() with various non-set iterables,
    a list should be the most common but there are others as well[1].
    
    Considering typeshed also documents wait()[2] and as_completed()[3]
    as accepting arbitrary iterables I think it's a good idea to document
    the status quo better.
    
    [1] aio-libs/aiokafka#672
    [2] https://github.com/python/typeshed/blob/620989bac572f30349b95590ebe81a73ce0fe862/stdlib/3/asyncio/tasks.pyiGH-L161
    [3] https://github.com/python/typeshed/blob/620989bac572f30349b95590ebe81a73ce0fe862/stdlib/3/asyncio/tasks.pyiGH-L40.
    (cherry picked from commit 3d86d09)
    
    Co-authored-by: Jakub Stasiak <jakub@stasiak.at>
    jstasiak committed Nov 2, 2020
    Configuration menu
    Copy the full SHA
    ba21031 View commit details
    Browse the repository at this point in the history