Message219877
> 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? |
|
Date |
User |
Action |
Args |
2014-06-06 12:28:02 | vstinner | set | recipients:
+ vstinner, gvanrossum, pitrou, giampaolo.rodola, docs@python, yselivanov, Sebastian.Kreft.Deezer |
2014-06-06 12:28:02 | vstinner | set | messageid: <1402057682.7.0.57174343078.issue21596@psf.upfronthosting.co.za> |
2014-06-06 12:28:02 | vstinner | link | issue21596 messages |
2014-06-06 12:28:02 | vstinner | create | |
|