[issue4275] socketserver example code not correctly ported to py3k

Brad Miller report at bugs.python.org
Fri Nov 7 23:49:03 CET 2008


Brad Miller <bonelake at gmail.com> added the comment:

After looking at the socket documentation pointed to from another issue
it looks like the right solution is to convert to a byte array.

I've attached a patch with fixes for all the examples in
socketserver.rst  there were several other problems that I think were
unrelated to Python 3.0 that I cleaned up in the process.

----------
keywords: +patch
Added file: http://bugs.python.org/file11964/socketserverdoc.patch

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


More information about the Python-bugs-list mailing list