saghul/pyuv — Issue #10: socket write() should take memoryview type not raise MemoryError
Author: rmtew
Created: 2012-03-07 23:49:02+00:00
State: open

If you write a memoryview to a socket, you will get a MemoryError raised.

In this case, string = memoryview("blah")

Traceback (most recent call last):
File "..\socket_pyuv_write_memoryview.py", line 31, in
incoming_socket.write(string, write_callback)
MemoryError