From: Benjamin Peterson Date: Sat, 17 May 2014 22:07:34 +0000 (-0700) Subject: merge 3.4 (#10744) X-Git-Tag: v3.5.0a1~1636 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=da89123bd6ab3e0e0eb311cee72fbed59293dd70;p=python merge 3.4 (#10744) --- da89123bd6ab3e0e0eb311cee72fbed59293dd70 diff --cc Misc/NEWS index 92acc13e5e,9e2de7a346..081f76bab1 --- a/Misc/NEWS +++ b/Misc/NEWS @@@ -84,44 -93,6 +84,47 @@@ Core and Builtin Library ------- ++- Issue #10744: Fix PEP 3118 format strings on ctypes objects with a nontrivial ++ shape. ++ +- Issue #20826: Optimize ipaddress.collapse_addresses(). + +- Issue #21487: Optimize ipaddress.summarize_address_range() and + ipaddress.{IPv4Network,IPv6Network}.subnets(). + +- Issue #21486: Optimize parsing of netmasks in ipaddress.IPv4Network and + ipaddress.IPv6Network. + +- Issue #13916: Disallowed the surrogatepass error handler for non UTF-* + encodings. + +- Issue #20998: Fixed re.fullmatch() of repeated single character pattern + with ignore case. Original patch by Matthew Barnett. + +- 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.