]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
bpo-31033: Improve the traceback for cancelled asyncio tasks (GH-19951)
authorChris Jerdonek <chris.jerdonek@gmail.com>
Mon, 18 May 2020 05:47:31 +0000 (22:47 -0700)
committerGitHub <noreply@github.com>
Mon, 18 May 2020 05:47:31 +0000 (22:47 -0700)
commitda742ba826721da84140abc785856d4ccc2d787f
tree1a6f9db52fe93edf9946620d0e2312e97c6f16a0
parentd17f3d8315a3a775ab0807fc80acf92b1bd682f8
bpo-31033: Improve the traceback for cancelled asyncio tasks (GH-19951)

When an asyncio.Task is cancelled, the exception traceback now
starts with where the task was first interrupted.  Previously,
the traceback only had "depth one."
Include/internal/pycore_pyerrors.h
Lib/asyncio/futures.py
Lib/asyncio/tasks.py
Lib/test/test_asyncio/test_tasks.py
Misc/NEWS.d/next/Library/2020-05-06-02-33-00.bpo-31033.aX12pw.rst [new file with mode: 0644]
Modules/_asynciomodule.c
Modules/clinic/_asynciomodule.c.h
Objects/genobject.c
Python/errors.c
setup.py