You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Swallow unhandled exception report introduced by 36802 #81097
In bpo-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.
New changeset f12ba7c by Victor Stinner (Andrew Svetlov) in branch 'master': bpo-36916: asyncio: Swallow unhandled write() exception (GH-13313) f12ba7c
Activity
asvetlov commentedon May 14, 2019
In bpo-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.
vstinner commentedon May 14, 2019
New changeset f12ba7c by Victor Stinner (Andrew Svetlov) in branch 'master':
bpo-36916: asyncio: Swallow unhandled write() exception (GH-13313)
f12ba7c