STINNER Victor <vstin...@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 <rep...@bugs.python.org> <https://bugs.python.org/issue23859> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com