summaryrefslogtreecommitdiffstats
path: root/Misc
diff options
context:
space:
mode:
authorSerhiy Storchaka <storchaka@gmail.com>2015-11-01 14:43:58 (GMT)
committerSerhiy Storchaka <storchaka@gmail.com>2015-11-01 14:43:58 (GMT)
commit314464d0ab4ad283fce7594158b2464d47cc68d8 (patch)
tree365304a1c140df7cb90a1cb501f18713226580c8 /Misc
parent1f1177d69a21805c374b6b4cfce9f9f76bceb822 (diff)
downloadcpython-314464d0ab4ad283fce7594158b2464d47cc68d8.zip
cpython-314464d0ab4ad283fce7594158b2464d47cc68d8.tar.gz
cpython-314464d0ab4ad283fce7594158b2464d47cc68d8.tar.bz2
Issue #25510: fileinput.FileInput.readline() now returns b'' instead of ''
at the end if the FileInput was opened with binary mode. Patch by Ryosuke Ito.
Diffstat (limited to 'Misc')
-rw-r--r--Misc/NEWS4
1 files changed, 4 insertions, 0 deletions
diff --git a/Misc/NEWS b/Misc/NEWS
index d2bb816..fb7dcd3 100644
--- a/Misc/NEWS
+++ b/Misc/NEWS
@@ -96,6 +96,10 @@ Core and Builtins
Library
-------
+- Issue #25510: fileinput.FileInput.readline() now returns b'' instead of ''
+ at the end if the FileInput was opened with binary mode.
+ Patch by Ryosuke Ito.
+
- Issue #21827: Fixed textwrap.dedent() for the case when largest common
whitespace is a substring of smallest leading whitespace.
Based on patch by Robert Li.