commit | e0daff1c61e323d2a39dd8241de67082d1f10fd7 | [log] [tgz] |
---|---|---|
author | Victor Stinner <victor.stinner@haypocalc.com> | Sun Mar 20 23:36:35 2011 +0100 |
committer | Victor Stinner <victor.stinner@haypocalc.com> | Sun Mar 20 23:36:35 2011 +0100 |
tree | 4493d32c0b615b49efae69d775bcc8106c6497b1 | |
parent | 9c4efe571d73ea85489be34bb75dac923805068a [diff] |
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).