kai zhu <kaizhu...@gmail.com> added the comment: my bad again, hacking newline parameter to the correct argument position works (its in the position where error should b).
a one line patch would be: socket.py <line 163> - text = io.TextIOWrapper(buffer, encoding, newline) + text = io.TextIOWrapper(buffer, encoding, newline = newline) ---------- _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue10041> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com