python / cpython

The Python programming language
https://www.python.org
Other
63.15k stars 30.24k forks source link

Document that asyncio's wait() and as_completed() accept arbitrary iterables #86396

Closed e1cead32-4084-4b7e-a521-93555dbdc563 closed 3 years ago

e1cead32-4084-4b7e-a521-93555dbdc563 commented 3 years ago
BPO 42230
Nosy @asvetlov, @1st1, @jstasiak, @miss-islington
PRs
  • python/cpython#23073
  • python/cpython#23104
  • python/cpython#23105
  • Note: these values reflect the state of the issue at the time it was migrated and might not reflect the current state.

    Show more details

    GitHub fields: ```python assignee = None closed_at = created_at = labels = ['3.8', '3.9', '3.10', 'expert-asyncio'] title = "Document that asyncio's wait() and as_completed() accept arbitrary iterables" updated_at = user = 'https://github.com/jstasiak' ``` bugs.python.org fields: ```python activity = actor = 'asvetlov' assignee = 'none' closed = True closed_date = closer = 'asvetlov' components = ['asyncio'] creation = creator = 'jstasiak' dependencies = [] files = [] hgrepos = [] issue_num = 42230 keywords = ['patch'] message_count = 4.0 messages = ['380128', '380206', '380207', '380208'] nosy_count = 4.0 nosy_names = ['asvetlov', 'yselivanov', 'jstasiak', 'miss-islington'] pr_nums = ['23073', '23104', '23105'] priority = 'normal' resolution = 'fixed' stage = 'resolved' status = 'closed' superseder = None type = None url = 'https://bugs.python.org/issue42230' versions = ['Python 3.8', 'Python 3.9', 'Python 3.10'] ```

    e1cead32-4084-4b7e-a521-93555dbdc563 commented 3 years ago

    The documentation explicitly says "sets" but arbitrary iterables are accepted and various non-sets are passed to those in real world almost certainly.

    asvetlov commented 3 years ago

    New changeset 3d86d090dcbbdfdd3e5a5951cab30612d6131222 by Jakub Stasiak in branch 'master': bpo-42230: Improve asyncio documentation regarding accepting sets vs iterables (GH-23073) https://github.com/python/cpython/commit/3d86d090dcbbdfdd3e5a5951cab30612d6131222

    miss-islington commented 3 years ago

    New changeset ff852aabf22908e7ef0325af65bab5d02c421fd8 by Miss Skeleton (bot) in branch '3.9': bpo-42230: Improve asyncio documentation regarding accepting sets vs iterables (GH-23073) https://github.com/python/cpython/commit/ff852aabf22908e7ef0325af65bab5d02c421fd8

    asvetlov commented 3 years ago

    New changeset ad37c66adcd474e3d42a51c63ecb6a54ca2d23f2 by Jakub Stasiak in branch '3.8': [3.8] bpo-42230: Improve asyncio documentation regarding accepting sets vs iterables (GH-23073) (GH-23105) https://github.com/python/cpython/commit/ad37c66adcd474e3d42a51c63ecb6a54ca2d23f2