Andrew Svetlov <andrew.svet...@gmail.com> added the comment:
Use asyncio transports or streams. sock_recv() is a low-level API with a very limited audience. wrapped ssl socket provides a synchronous interface only. Perhaps we should raise an exception if SSLSocket is passed into asyncio functions. ---------- _______________________________________ Python tracker <rep...@bugs.python.org> <https://bugs.python.org/issue37404> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com