]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
bpo-38785: Prevent asyncio from crashing (GH-17144)
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Wed, 13 Nov 2019 21:54:56 +0000 (13:54 -0800)
committerGitHub <noreply@github.com>
Wed, 13 Nov 2019 21:54:56 +0000 (13:54 -0800)
commit694c03fabb5cf3df0102cc317670a10fc39c6786
tree9fce2560ca025bae0ac72c0074944198bc06fcc8
parenta67bc10e42fa9a077eb4d9d7bd767c3efddbc366
bpo-38785: Prevent asyncio from crashing  (GH-17144)

if parent `__init__` is not called from a constructor of object derived from `asyncio.Future`

https://bugs.python.org/issue38785
(cherry picked from commit dad6be5ffe48beb74fad78cf758b886afddc7aed)

Co-authored-by: Andrew Svetlov <andrew.svetlov@gmail.com>
Lib/asyncio/futures.py
Lib/test/test_asyncio/test_futures.py
Misc/NEWS.d/next/Library/2019-11-13-16-17-43.bpo-38785.NEOEfk.rst [new file with mode: 0644]
Modules/_asynciomodule.c