STINNER Victor <[EMAIL PROTECTED]> added the comment:
Why not using bytes() instead of bytearray()? Eg. replace
s.send('Hello, world') by s.send(b'Hello, world').
----------
nosy: +haypo
_______________________________________
Python tracker <[EMAIL PROTECTED]>
<http://bugs.python.org/issue4275>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe:
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com