[issue23859] asyncio: document behaviour of wait() cancellation
STINNER Victor
report at bugs.python.org
Wed May 30 06:06:20 EDT 2018
STINNER Victor <vstinner at redhat.com> added the comment:
Thank you Elvis for the documentation! Cancellation is one of the most complex part of asynchronous programming, and I don't think that asyncio documentation explains it properly. We may document the behaviour on cancellation for most task functions.
https://docs.python.org/dev/library/asyncio-task.html#task-functions
as_completed() behaviour on cancellation is not documented for example.
The wait() documentation should be backported to 3.6 as well.
----------
versions: +Python 3.7, Python 3.8 -Python 3.4, Python 3.5
_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue23859>
_______________________________________
More information about the Python-bugs-list
mailing list