Antoine Pitrou <[email protected]> added the comment:

Actually, the error is that in Python 3 you should use bytes objects when 
transmitting/receiving data over the network, not (unicode) strings.
That is, replace '\r\n' with b'\r\n', etc.

Of course, the error message should be made less obscure.

----------
nosy: +pitrou
versions: +Python 3.3

_______________________________________
Python tracker <[email protected]>
<http://bugs.python.org/issue12523>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to