STINNER Victor <[email protected]> added the comment: Serhiy: is it safe to accept any memoryview? Or should we call explicitly .cast('B') on memory views to prevent bad surprises?
The asyncio module doesn't do anything special in sock_sendall(). "data" is passed directly to socket.send(), unchanged. So maybe it's just fine to not do anything special. ---------- nosy: +haypo _______________________________________ Python tracker <[email protected]> <https://bugs.python.org/issue29729> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
