Aymeric Augustin <aymeric.augus...@m4x.org> added the comment:

Would it make sense to add `await asyncio.sleep(0)` in `Server.wait_closed()` 
to ensure that all connections reach `connection_made()` before `wait_closed()` 
returns?

This would be fragile but it would be an improvement over the current behavior, 
wouldn't it?

----------

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

Reply via email to