[issue12523] 'str' object has no attribute 'more' [/usr/lib/python3.2/asynchat.py|initiate_send|245]
Antoine Pitrou
report at bugs.python.org
Mon Jul 11 11:44:17 CEST 2011
Antoine Pitrou <pitrou at free.fr> 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 <report at bugs.python.org>
<http://bugs.python.org/issue12523>
_______________________________________
More information about the Python-bugs-list
mailing list