From: Victor Stinner Date: Sun, 20 Mar 2011 22:37:55 +0000 (+0100) Subject: (merge) Issue #11395: io.FileIO().write() clamps the data length to 32,767 X-Git-Tag: v3.3.0a1~2829 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=b938bcd211bfcab13be38200a2f59947691118bb;p=thirdparty%2FPython%2Fcpython.git (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). --- b938bcd211bfcab13be38200a2f59947691118bb