[issue11395] print(s) fails on Windows with long strings

STINNER Victor report at bugs.python.org
Fri Mar 4 10:39:32 CET 2011


STINNER Victor <victor.stinner at haypocalc.com> added the comment:

> This changed with r87824

Yes, I changed Python to open all files in binary mode. With Python < 3.2, you can open sys.std* streams in binary mode using -u command line option (u like unbuffered, not Unicode ;-)).

----------

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


More information about the Python-bugs-list mailing list