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 udifuchs
Recipients aeros, asvetlov, chris.jerdonek, eric.smith, pgjones, udifuchs, yselivanov
Date 2020-09-09.15:28:11
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1599665291.57.0.0320984823476.issue40124@roundup.psfhosted.org>
In-reply-to
Content
I don't see anything in the documentation of drain() that states that it cannot be called from multiple tasks.

I'm also not sure why this assertion is necessary. If self._drain_waiter is already set, could the other task just await on it?
History
Date User Action Args
2020-09-09 15:28:11udifuchssetrecipients: + udifuchs, eric.smith, asvetlov, chris.jerdonek, yselivanov, pgjones, aeros
2020-09-09 15:28:11udifuchssetmessageid: <1599665291.57.0.0320984823476.issue40124@roundup.psfhosted.org>
2020-09-09 15:28:11udifuchslinkissue40124 messages
2020-09-09 15:28:11udifuchscreate