[issue1563] asyncore and asynchat incompatible with Py3k str and bytes

Jorrit Posthuma report at bugs.python.org
Mon Jul 13 17:26:34 CEST 2009


Jorrit Posthuma <j.posthuma at gmail.com> added the comment:

It's not 'that' clear you should only work with bytes on a socket. 
Especially not when using a wrapper like asynchat. They are supposed to 
make it easier, and passing a string is easier. Maybe it's possible to do 
a default byte conversion when the user is working with strings.

----------
nosy: +JPosthuma

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue1563>
_______________________________________


More information about the Python-bugs-list mailing list