From: Serhiy Storchaka Date: Sun, 1 Nov 2015 14:45:26 +0000 (+0200) Subject: Issue #25510: fileinput.FileInput.readline() now returns b'' instead of '' X-Git-Tag: v3.5.1rc1~104 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=56275dc1e2a2f354620189efd751fa90af2118e1;p=thirdparty%2FPython%2Fcpython.git 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. --- 56275dc1e2a2f354620189efd751fa90af2118e1 diff --cc Misc/NEWS index a8a1f3170a2e,fb7dcd3c05c6..20b1ae42e05d --- a/Misc/NEWS +++ b/Misc/NEWS @@@ -48,11 -96,10 +48,15 @@@ Core and Builtin 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 #25503: Fixed inspect.getdoc() for inherited docstrings of properties. + Original patch by John Mark Vandenberg. + +- Issue #25515: Always use os.urandom as a source of randomness in uuid.uuid4. + - 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.