summaryrefslogtreecommitdiffstats
path: root/Misc
diff options
context:
space:
mode:
authorVictor Stinner <victor.stinner@haypocalc.com>2011-03-20 22:36:35 (GMT)
committerVictor Stinner <victor.stinner@haypocalc.com>2011-03-20 22:36:35 (GMT)
commite0daff1c61e323d2a39dd8241de67082d1f10fd7 (patch)
tree4493d32c0b615b49efae69d775bcc8106c6497b1 /Misc
parent9c4efe571d73ea85489be34bb75dac923805068a (diff)
downloadcpython-e0daff1c61e323d2a39dd8241de67082d1f10fd7.zip
cpython-e0daff1c61e323d2a39dd8241de67082d1f10fd7.tar.gz
cpython-e0daff1c61e323d2a39dd8241de67082d1f10fd7.tar.bz2
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).
Diffstat (limited to 'Misc')
-rw-r--r--Misc/NEWS6
1 files changed, 6 insertions, 0 deletions
diff --git a/Misc/NEWS b/Misc/NEWS
index 19ed8f9..49626f1 100644
--- a/Misc/NEWS
+++ b/Misc/NEWS
@@ -10,6 +10,12 @@ What's New in Python 3.2.1?
Core and Builtins
-----------------
+- 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).
+
- Issue #11320: fix bogus memory management in Modules/getpath.c, leading to
a possible crash when calling Py_SetPath().