M
Max
I'm using StringIO for the first time (to buffer messages recieved from
a socket). I thought it would be a simple matter of writing the stuff to
the buffer and then calling readline, but that doesn't seem to work:
''
I expected buf.readline() to return 'Foo\n'. What am I doing wrong?
--Max
a socket). I thought it would be a simple matter of writing the stuff to
the buffer and then calling readline, but that doesn't seem to work:
''
I expected buf.readline() to return 'Foo\n'. What am I doing wrong?
--Max