This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Title: asyncio.Task implemented in C loses __traceback__ for exceptions
Type: behavior Stage: resolved
Components: asyncio Versions: Python 3.7, Python 3.6
Status: closed Resolution: fixed
Dependencies: Superseder:
Assigned To: yselivanov Nosy List: gvanrossum, methane, ned.deily, python-dev, yselivanov
Priority: normal Keywords: patch

Created on 2016-11-30 18:44 by yselivanov, last changed 2022-04-11 14:58 by admin. This issue is now closed.

File name Uploaded Description Edit
task_tb.patch yselivanov, 2016-11-30 18:44 review
Messages (3)
msg282092 - (view) Author: Yury Selivanov (yselivanov) * (Python committer) Date: 2016-11-30 18:44
When a coroutine wrapped in a C asyncio.Task raises an Exception, the Task fails to correctly save the __traceback__.
msg282198 - (view) Author: Roundup Robot (python-dev) (Python triager) Date: 2016-12-01 16:38
New changeset c9f68150cf90 by Yury Selivanov in branch '3.6':
Issue #28843: Fix asyncio C Task to handle exceptions __traceback__.

New changeset a21a8943c59e by Yury Selivanov in branch 'default':
Merge 3.6 (issue #28843)
msg282199 - (view) Author: Yury Selivanov (yselivanov) * (Python committer) Date: 2016-12-01 16:38
Thanks for reviewing the patch, Inada-san. Closing the issue.
Date User Action Args
2022-04-11 14:58:40adminsetgithub: 73029
2016-12-01 16:38:39yselivanovsetstatus: open -> closed
priority: release blocker -> normal
type: behavior
messages: + msg282199

resolution: fixed
stage: resolved
2016-12-01 16:38:05python-devsetnosy: + python-dev
messages: + msg282198
2016-11-30 18:44:53yselivanovcreate