summaryrefslogtreecommitdiffstats
path: root/Doc
diff options
context:
space:
mode:
authorYury Selivanov <yury@magic.io>2018-05-29 21:20:02 (GMT)
committerGitHub <noreply@github.com>2018-05-29 21:20:02 (GMT)
commit863b6749093a86810c4077112a857363410cc221 (patch)
tree398e2d2b175f3a40b31ba89137e9300c5615bef3 /Doc
parent1cee216cf383eade641aed22f4ec7d4cb565ecff (diff)
downloadcpython-863b6749093a86810c4077112a857363410cc221.zip
cpython-863b6749093a86810c4077112a857363410cc221.tar.gz
cpython-863b6749093a86810c4077112a857363410cc221.tar.bz2
bpo-32684: Fix gather to propagate cancel of itself with return_exceptions (GH-7209)
Diffstat (limited to 'Doc')
-rw-r--r--Doc/library/asyncio-task.rst4
1 files changed, 4 insertions, 0 deletions
diff --git a/Doc/library/asyncio-task.rst b/Doc/library/asyncio-task.rst
index 233cc94..dc450c3 100644
--- a/Doc/library/asyncio-task.rst
+++ b/Doc/library/asyncio-task.rst
@@ -640,6 +640,10 @@ Task functions
outer Future is *not* cancelled in this case. (This is to prevent the
cancellation of one child to cause other children to be cancelled.)
+ .. versionchanged:: 3.7.0
+ If the *gather* itself is cancelled, the cancellation is propagated
+ regardless of *return_exceptions*.
+
.. function:: iscoroutine(obj)
Return ``True`` if *obj* is a :ref:`coroutine object <coroutine>`,