This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author vstinner
Recipients Sebastian.Kreft.Deezer, docs@python, giampaolo.rodola, gvanrossum, pitrou, vstinner, yselivanov
Date 2014-06-06.12:28:01
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1402057682.7.0.57174343078.issue21596@psf.upfronthosting.co.za>
In-reply-to
Content
> Probably this was the intended behavior as I see there's a test case for that. If such, then I would propose to document that behavior.

The code has an explicit check:

    if not fs:
        raise ValueError('Set of coroutines/Futures is empty.')

And yes, the behaviour is tested by test_asyncio.

Attached patch changes mention this behaviour in the documentation. Does it look correct?
History
Date User Action Args
2014-06-06 12:28:02vstinnersetrecipients: + vstinner, gvanrossum, pitrou, giampaolo.rodola, docs@python, yselivanov, Sebastian.Kreft.Deezer
2014-06-06 12:28:02vstinnersetmessageid: <1402057682.7.0.57174343078.issue21596@psf.upfronthosting.co.za>
2014-06-06 12:28:02vstinnerlinkissue21596 messages
2014-06-06 12:28:02vstinnercreate