From: Zachary Ware Date: Thu, 10 Sep 2015 21:08:21 +0000 (-0500) Subject: Issue #25022: Merge with 3.4 X-Git-Tag: v3.5.1rc1~396 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=31ce9ac86748fbbb4a64ea3910af97150a594751;p=thirdparty%2FPython%2Fcpython.git Issue #25022: Merge with 3.4 --- 31ce9ac86748fbbb4a64ea3910af97150a594751 diff --cc Misc/NEWS index 7b7b697cd0fa,db250cd378bc..2e709cbcdd15 --- a/Misc/NEWS +++ b/Misc/NEWS @@@ -35,67 -16,67 +35,72 @@@ Librar to None if the creation of the object failed, instead of raising an OSError exception. Initial patch written by Marco Paolini. -- Issue #21167: NAN operations are now handled correctly when python is - compiled with ICC even if -fp-model strict is not specified. +- Issue #24992: Fix error handling and a race condition (related to garbage + collection) in collections.OrderedDict constructor. -- Issue #4395: Better testing and documentation of binary operators. - Patch by Martin Panter. +- Issue #24881: Fixed setting binary mode in Python implementation of FileIO + on Windows and Cygwin. Patch from Akira Li. -- Issue #24467: Fixed possible buffer over-read in bytearray. The bytearray - object now always allocates place for trailing null byte and it's buffer now - is always null-terminated. +- Issue #21112: Fix regression in unittest.expectedFailure on subclasses. + Patch from Berker Peksag. -- Issue #24115: Update uses of PyObject_IsTrue(), PyObject_Not(), - PyObject_IsInstance(), PyObject_RichCompareBool() and _PyDict_Contains() - to check for and handle errors correctly. +- Issue #24764: cgi.FieldStorage.read_multi() now ignores the Content-Length + header in part headers. Patch written by Peter Landry and reviewed by Pierre + Quentel. -- Issue #24257: Fixed system error in the comparison of faked - types.SimpleNamespace. +- Issue #24913: Fix overrun error in deque.index(). + Found by John Leitch and Bryce Darling. -- Issue #22939: Fixed integer overflow in iterator object. Patch by - Clement Rouault. +- Issue #24774: Fix docstring in http.server.test. Patch from Chiu-Hsiang Hsu. -- Issue #23985: Fix a possible buffer overrun when deleting a slice from - the front of a bytearray and then appending some other bytes data. +- Issue #21159: Improve message in configparser.InterpolationMissingOptionError. + Patch from Łukasz Langa. -- Issue #24102: Fixed exception type checking in standard error handlers. +- Issue #20362: Honour TestCase.longMessage correctly in assertRegex. + Patch from Ilia Kurenkov. -- Issue #23757: PySequence_Tuple() incorrectly called the concrete list API - when the data was a list subclass. +- Issue #23572: Fixed functools.singledispatch on classes with falsy + metaclasses. Patch by Ethan Furman. -- Issue #24407: Fix crash when dict is mutated while being updated. +Documentation +------------- -- Issue #24096: Make warnings.warn_explicit more robust against mutation of the - warnings.filters list. +- Issue #24952: Clarify the default size argument of stack_size() in + the "threading" and "_thread" modules. Patch from Mattip. -- Issue #23996: Avoid a crash when a delegated generator raises an - unnormalized StopIteration exception. Patch by Stefan Behnel. +- Issue #23725: Overhaul tempfile docs. Note deprecated status of mktemp. + Patch from Zbigniew Jędrzejewski-Szmek. -- Issue #24022: Fix tokenizer crash when processing undecodable source code. +- Issue #24808: Update the types of some PyTypeObject fields. Patch by + Joseph Weston. -- Issue #23309: Avoid a deadlock at shutdown if a daemon thread is aborted - while it is holding a lock to a buffered I/O object, and the main thread - tries to use the same I/O object (typically stdout or stderr). A fatal - error is emitted instead. +- Issue #22812: Fix unittest discovery examples. + Patch from Pam McA'Nulty. -- Issue #22977: Fixed formatting Windows error messages on Wine. - Patch by Martin Panter. +Tests +----- -- Issue #23803: Fixed str.partition() and str.rpartition() when a separator - is wider then partitioned string. +- PCbuild\rt.bat now accepts an unlimited number of arguments to pass along + to regrtest.py. Previously there was a limit of 9. -- Issue #23192: Fixed generator lambdas. Patch by Bruno Cauet. +Build +----- -- Issue #23629: Fix the default __sizeof__ implementation for variable-sized - objects. +- Issue #24910: Windows MSIs now have unique display names. -- Issue #24044: Fix possible null pointer dereference in list.sort in out of - memory conditions. +- Issue #24986: It is now possible to build Python on Windows without errors + when external libraries are not available. -- Issue #21354: PyCFunction_New function is exposed by python DLL again. ++Windows ++------- + -- Issue #23812: Fix asyncio.Queue.get() to avoid loosing items on cancellation. - Patch by Gustavo J. A. M. Carneiro. ++- Issue #25022: Removed very outdated PC/example_nt/ directory. ++ + +What's New in Python 3.5.0 release candidate 4? +=============================================== + +Release date: 2015-09-09 Library -------