Message376643
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? |
|
Date |
User |
Action |
Args |
2020-09-09 15:28:11 | udifuchs | set | recipients:
+ udifuchs, eric.smith, asvetlov, chris.jerdonek, yselivanov, pgjones, aeros |
2020-09-09 15:28:11 | udifuchs | set | messageid: <1599665291.57.0.0320984823476.issue40124@roundup.psfhosted.org> |
2020-09-09 15:28:11 | udifuchs | link | issue40124 messages |
2020-09-09 15:28:11 | udifuchs | create | |
|