]> granicus.if.org Git - python/commit
Issue #25510: fileinput.FileInput.readline() now returns b'' instead of ''
authorSerhiy Storchaka <storchaka@gmail.com>
Sun, 1 Nov 2015 14:43:58 +0000 (16:43 +0200)
committerSerhiy Storchaka <storchaka@gmail.com>
Sun, 1 Nov 2015 14:43:58 +0000 (16:43 +0200)
commit314464d0ab4ad283fce7594158b2464d47cc68d8
tree365304a1c140df7cb90a1cb501f18713226580c8
parent1f1177d69a21805c374b6b4cfce9f9f76bceb822
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.
Lib/fileinput.py
Lib/test/test_fileinput.py
Misc/NEWS