]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
Issue #25510: fileinput.FileInput.readline() now returns b'' instead of ''
authorSerhiy Storchaka <storchaka@gmail.com>
Sun, 1 Nov 2015 14:45:26 +0000 (16:45 +0200)
committerSerhiy Storchaka <storchaka@gmail.com>
Sun, 1 Nov 2015 14:45:26 +0000 (16:45 +0200)
commit56275dc1e2a2f354620189efd751fa90af2118e1
tree4912005e11192ecc7edac3899e72bc2c8f0460ea
parent14eefe353e3f251bce0bc7ed3415f78c17174d94
parent314464d0ab4ad283fce7594158b2464d47cc68d8
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
Misc/NEWS