]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
bpo-36613: call remove_done_callback if exception (GH-12800)
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Fri, 3 May 2019 15:35:52 +0000 (08:35 -0700)
committerGitHub <noreply@github.com>
Fri, 3 May 2019 15:35:52 +0000 (08:35 -0700)
commit769ac7e7b809dfc60abd0d7e6f020c6ffe06a6c0
tree0036212b9185df7ba5f7969745448c5db9fadbbf
parent128e2262a8ffc7b94e44455cc1ba2e0f74316461
bpo-36613: call remove_done_callback if exception (GH-12800)

Call remove_done_callback() in finally block.

https://bugs.python.org/issue36613
(cherry picked from commit c1964e9e2177eabe821f3e4243be8b99e0d2d542)

Co-authored-by: gescheit <gescheit12@gmail.com>
Lib/asyncio/tasks.py
Misc/NEWS.d/next/Library/2019-04-12-13-52-15.bpo-36613.hqT1qn.rst [new file with mode: 0644]