]> granicus.if.org Git - python/commit
(merge) Issue #11395: io.FileIO().write() clamps the data length to 32,767
authorVictor Stinner <victor.stinner@haypocalc.com>
Sun, 20 Mar 2011 22:37:55 +0000 (23:37 +0100)
committerVictor Stinner <victor.stinner@haypocalc.com>
Sun, 20 Mar 2011 22:37:55 +0000 (23:37 +0100)
commitb938bcd211bfcab13be38200a2f59947691118bb
tree04afc2a782ce970af29f149651402c90015c23e4
parent0421810b3b2dbf41c0ddb86d9d7711ca9dec2a2b
parente0daff1c61e323d2a39dd8241de67082d1f10fd7
(merge) Issue #11395: io.FileIO().write() clamps the data length to 32,767
bytes on Windows if the file is a TTY to workaround a Windows bug. The Windows
console returns an error (12: not enough space error) on writing into stdout if
stdout mode is binary and the length is greater than 66,000 bytes (or less,
depending on heap usage).
Lib/test/test_os.py
Misc/NEWS