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

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


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

Extract of issue #1602:
<< WriteConsoleW has one bug that I know of, which is that it <a href="http://tahoe-lafs.org/trac/tahoe-lafs/ticket/1232">fails when writing more than 26608 characters at once</a>. That's easy to work around by limiting the amount of data passed in a single call. >>

I suppose that os.write(1) does indirectly write into the Windows console which has this limit.

----------
nosy: +haypo

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


More information about the Python-bugs-list mailing list