Udi <[email protected]> added the comment:
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? ---------- nosy: +udifuchs _______________________________________ Python tracker <[email protected]> <https://bugs.python.org/issue40124> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
