summaryrefslogtreecommitdiffstats
path: root/Misc
diff options
context:
space:
mode:
authorAntoine Pitrou <solipsis@pitrou.net>2011-07-13 19:07:49 (GMT)
committerAntoine Pitrou <solipsis@pitrou.net>2011-07-13 19:07:49 (GMT)
commitcb4ae815b5db6c9339c7c77e1d45e850ed76e497 (patch)
tree6d5c578a5513961a83dd2261632acb305fd683eb /Misc
parentfd060474e3cc51528d321bbd52323036f9fda80d (diff)
downloadcpython-cb4ae815b5db6c9339c7c77e1d45e850ed76e497.zip
cpython-cb4ae815b5db6c9339c7c77e1d45e850ed76e497.tar.gz
cpython-cb4ae815b5db6c9339c7c77e1d45e850ed76e497.tar.bz2
Raise ValueError when attempting to set the _CHUNK_SIZE attribute of a TextIOWrapper to a huge value, not TypeError.
Diffstat (limited to 'Misc')
-rw-r--r--Misc/NEWS3
1 files changed, 3 insertions, 0 deletions
diff --git a/Misc/NEWS b/Misc/NEWS
index 3df8e95..25c1f3c 100644
--- a/Misc/NEWS
+++ b/Misc/NEWS
@@ -27,6 +27,9 @@ Core and Builtins
Library
-------
+- Raise ValueError when attempting to set the _CHUNK_SIZE attribute of a
+ TextIOWrapper to a huge value, not TypeError.
+
- Issue #12493: subprocess: Popen.communicate() now also handles EINTR errors
if the process has only one pipe.