New submission from Andrew Svetlov <andrew.svet...@gmail.com>:

Without the method there is no possibility to wait for actual writer closing 
(it's performed at least on next loop iteration, and even later for SSL 
transports).

Without waiting for actual closing writing tests is a pain: user should either 
add asyncio.sleep() after writer closing or suppress many warnings about 
unclosed resources.

----------
components: Library (Lib), asyncio
messages: 308780
nosy: asvetlov, yselivanov
priority: normal
severity: normal
status: open
title: Add StreamWriter.wait_closed()
versions: Python 3.7

_______________________________________
Python tracker <rep...@bugs.python.org>
<https://bugs.python.org/issue32391>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to