From: Serhiy Storchaka Date: Wed, 14 May 2014 18:11:08 +0000 (+0300) Subject: Issue #21075: fileinput.FileInput now reads bytes from standard stream if X-Git-Tag: v3.5.0a1~1654 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=b9183bb4fdcc26a1273e39ea6c32052152898802;p=python Issue #21075: fileinput.FileInput now reads bytes from standard stream if binary mode is specified. Patch by Sam Kimbrel. --- b9183bb4fdcc26a1273e39ea6c32052152898802 diff --cc Misc/NEWS index 787239bdc0,161016ab40..e815e0eb5d --- a/Misc/NEWS +++ b/Misc/NEWS @@@ -84,27 -87,6 +84,30 @@@ Core and Builtin Library ------- ++- Issue #21075: fileinput.FileInput now reads bytes from standard stream if ++ binary mode is specified. Patch by Sam Kimbrel. ++ +- Issue #19775: Add a samefile() method to pathlib Path objects. Initial + patch by Vajrasky Kok. + +- Issue #21398: Fix an unicode error in the pydoc pager when the documentation + contains characters not encodable to the stdout encoding. + +- Issue #16531: ipaddress.IPv4Network and ipaddress.IPv6Network now accept + an (address, netmask) tuple argument, so as to easily construct network + objects from existing addresses. + +- Issue #21156: importlib.abc.InspectLoader.source_to_code() is now a + staticmethod. + +- Issue #21424: Simplified and optimized heaqp.nlargest() and nmsmallest() + to make fewer tuple comparisons. + +- Issue #21396: Fix TextIOWrapper(..., write_through=True) to not force a + flush() on the underlying binary stream. Patch by akira. + +- Issue #18314: Unlink now removes junctions on Windows. Patch by Kim Gräsman + - Issue #21088: Bugfix for curses.window.addch() regression in 3.4.0. In porting to Argument Clinic, the first two arguments were reversed.