New submission from Andrew Svetlov <andrew.svet...@gmail.com>:
Yuri and I decided that `writer.awrite()` and `writer.aclose()` look ugly. Instead, we return awaitable object from these methods to allow both `writer.write(b'data')` and `await writer.write(b'data')` for the method. The same for `writer.close()` call. ---------- components: asyncio messages: 341450 nosy: asvetlov, yselivanov priority: normal severity: normal status: open title: Revert back StreamWriter awrite/aclose but provide await writer.write() and await writer.close() versions: Python 3.8 _______________________________________ Python tracker <rep...@bugs.python.org> <https://bugs.python.org/issue36802> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com