Udi 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:
New submission from Udi Meiri :
$ python3.7
Python 3.7.3rc1 (default, Mar 13 2019, 11:01:15)
[GCC 7.3.0] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> import inspect
>>> inspect.getfullargspec(s
New submission from Udi Oron:
It seems like `asyncio.timeout` is going to be added in 3.4.5, 3.5.2 and 3.6.
The current live documentation of python 3.4 and python 3.5.1 does not include
a comment regarding it is not yet available in the current released versions of
python.
The documentation