[issue10041] socket.makefile(mode = 'r').readline() silently removes carriage return

kai zhu report at bugs.python.org
Tue Oct 12 03:46:22 CEST 2010


kai zhu <kaizhu256 at gmail.com> added the comment:

np antoine :)

this 2 line patch will match socket.makefile() signature with open().
any chance it can b committed b4 python3.2 beta?

i rely on this patch in order to forward-port redis to python3

----------
Added file: http://bugs.python.org/file19193/makefile.errors.newline.patch

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


More information about the Python-bugs-list mailing list