]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
bpo-36607: Eliminate RuntimeError raised by asyncio.all_tasks() (GH-13971)
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Tue, 11 Jun 2019 16:01:20 +0000 (09:01 -0700)
committerGitHub <noreply@github.com>
Tue, 11 Jun 2019 16:01:20 +0000 (09:01 -0700)
commit5d1d4e3179ffd4d2d72462d870cf86dcc11450ce
treebc39c14ec9d4a95e641d1cac519d3d6d943955ff
parent1b615b2f035d207941e44259a92ed0bdcc56ac45
bpo-36607: Eliminate RuntimeError raised by asyncio.all_tasks() (GH-13971)

If internal tasks weak set is changed by another thread during iteration.

https://bugs.python.org/issue36607
(cherry picked from commit 65aa64fae89a24491aae84ba0329eb8f3c68c389)

Co-authored-by: Andrew Svetlov <andrew.svetlov@gmail.com>
Lib/asyncio/tasks.py
Misc/NEWS.d/next/Library/2019-06-11-13-52-04.bpo-36607.5_mJkQ.rst [new file with mode: 0644]