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: Swallow unhandled exception report introduced by 36802
Type: behavior Stage: resolved
Components: asyncio, Library (Lib) Versions: Python 3.8
Status: closed Resolution: fixed
Dependencies: Superseder:
Assigned To: Nosy List: asvetlov, vstinner, yselivanov
Priority: normal Keywords: patch

Created on 2019-05-14 12:35 by asvetlov, last changed 2022-04-11 14:59 by admin. This issue is now closed.

Pull Requests
URL Status Linked Edit
PR 13313 merged asvetlov, 2019-05-14 12:37
Messages (2)
msg342457 - (view) Author: Andrew Svetlov (asvetlov) * (Python committer) Date: 2019-05-14 12:35
In #36802 when old-style writer.write() is used without awaiting and an exception is raised from writer.drain() method asyncio reports about the unhandled exception.

The proposed fix adds a done callback to task for swallowing the exception in such case.
msg342481 - (view) Author: STINNER Victor (vstinner) * (Python committer) Date: 2019-05-14 16:09
New changeset f12ba7cd0a7370631214ac0b337ab5455ce717b2 by Victor Stinner (Andrew Svetlov) in branch 'master':
bpo-36916: asyncio: Swallow unhandled write() exception (GH-13313)
Date User Action Args
2022-04-11 14:59:15adminsetgithub: 81097
2019-05-15 08:06:07asvetlovsetstatus: open -> closed
resolution: fixed
stage: patch review -> resolved
2019-05-14 16:09:54vstinnersetnosy: + vstinner
messages: + msg342481
2019-05-14 12:37:53asvetlovsetkeywords: + patch
stage: patch review
pull_requests: + pull_request13223
2019-05-14 12:35:38asvetlovsetnosy: + yselivanov

type: behavior
components: + Library (Lib), asyncio
versions: + Python 3.8
2019-05-14 12:35:05asvetlovcreate