summaryrefslogtreecommitdiffstats
path: root/Misc
diff options
context:
space:
mode:
authorVictor Stinner <victor.stinner@haypocalc.com>2011-05-25 20:49:15 (GMT)
committerVictor Stinner <victor.stinner@haypocalc.com>2011-05-25 20:49:15 (GMT)
commit988512cfd7c896dd8b900d0f00cba05c4c807dc3 (patch)
tree00d1050f4d082f25471ca7b9e61aa745e29a99c8 /Misc
parent4767114e77fc68cfcd630318ec58e632b00c2e04 (diff)
parenta80987f20d0c73532127e1c3f69f7983c5c443d2 (diff)
downloadcpython-988512cfd7c896dd8b900d0f00cba05c4c807dc3.zip
cpython-988512cfd7c896dd8b900d0f00cba05c4c807dc3.tar.gz
cpython-988512cfd7c896dd8b900d0f00cba05c4c807dc3.tar.bz2
(Merge 3.1) Issue #12175: RawIOBase.readall() now returns None if read()
returns None.
Diffstat (limited to 'Misc')
-rw-r--r--Misc/NEWS8
1 files changed, 5 insertions, 3 deletions
diff --git a/Misc/NEWS b/Misc/NEWS
index 05fc1b7..ce6c964 100644
--- a/Misc/NEWS
+++ b/Misc/NEWS
@@ -13,6 +13,11 @@ Core and Builtins
Library
-------
+- Issue #12175: RawIOBase.readall() now returns None if read() returns None.
+
+- Issue #12175: FileIO.readall() now raises a ValueError instead of an IOError
+ if the file is closed.
+
- Issue #12070: Fix the Makefile parser of the sysconfig module to handle
correctly references to "bogus variable" (e.g. "prefix=$/opt/python").
@@ -731,9 +736,6 @@ Core and Builtins
Library
-------
-- Issue #12175: FileIO.readall() now raises a ValueError instead of an IOError
- if the file is closed.
-
- Issue #10916: mmap should not segfault when a file is mapped using 0 as length
and a non-zero offset, and an attempt to read past the end of file is made
(IndexError is raised instead). Patch by Ross Lagerwall.