Author chris.jerdonek
Recipients asvetlov, chris.jerdonek, dutradda, ods, yselivanov
Date 2020-10-25.21:57:48
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1603663068.93.0.570983446226.issue42140@roundup.psfhosted.org>
In-reply-to
Content
Are you suggesting this is a bug, or is it just a suggested code cleanup? I ask because the docs suggest that a set should be passed:
https://docs.python.org/3/library/asyncio-task.html#asyncio.wait

And the docstring says it should be a sequence:
https://github.com/python/cpython/blob/d1a0a960ee493262fb95a0f5b795b5b6d75cecb8/Lib/asyncio/tasks.py#L373-L376

So while code cleanup is okay, I'm not sure support for general iterator arguments can / should be guaranteed.
History
Date User Action Args
2020-10-25 21:57:48chris.jerdoneksetrecipients: + chris.jerdonek, ods, asvetlov, yselivanov, dutradda
2020-10-25 21:57:48chris.jerdoneksetmessageid: <1603663068.93.0.570983446226.issue42140@roundup.psfhosted.org>
2020-10-25 21:57:48chris.jerdoneklinkissue42140 messages
2020-10-25 21:57:48chris.jerdonekcreate