From: Martin Panter Date: Mon, 31 Aug 2015 03:25:34 +0000 (+0000) Subject: Issue #24952: Merge 3.4 into 3.5 X-Git-Tag: v3.6.0a1~1719^2 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=e721b7cb8b879a848d47b9716783526c12c341a2;p=python Issue #24952: Merge 3.4 into 3.5 --- e721b7cb8b879a848d47b9716783526c12c341a2 diff --cc Misc/NEWS index 89b199c2e1,0204090304..7ff67bf161 --- a/Misc/NEWS +++ b/Misc/NEWS @@@ -11,75 -10,67 +11,78 @@@ Release date: TB Core and Builtins ----------------- -- Issue #21167: NAN operations are now handled correctly when python is - compiled with ICC even if -fp-model strict is not specified. +Library +------- -- 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. -- Issue #23803: Fixed str.partition() and str.rpartition() when a separator - is wider then partitioned string. +What's New in Python 3.5.0 release candidate 3? +=============================================== -- Issue #23192: Fixed generator lambdas. Patch by Bruno Cauet. +Release date: 2015-09-06 -- Issue #23629: Fix the default __sizeof__ implementation for variable-sized - objects. +Core and Builtins +----------------- -- Issue #24044: Fix possible null pointer dereference in list.sort in out of - memory conditions. +Library +------- -- Issue #21354: PyCFunction_New function is exposed by python DLL again. -- Issue #23812: Fix asyncio.Queue.get() to avoid loosing items on cancellation. - Patch by Gustavo J. A. M. Carneiro. +What's New in Python 3.5.0 release candidate 2? +=============================================== + +Release date: 2015-08-25 + +Core and Builtins +----------------- + +- Issue #24769: Interpreter now starts properly when dynamic loading + is disabled. Patch by Petr Viktorin. + +- Issue #21167: NAN operations are now handled correctly when python is + compiled with ICC even if -fp-model strict is not specified. + +- Issue #24492: A "package" lacking a __name__ attribute when trying to perform + a ``from .. import ...`` statement will trigger an ImportError instead of an + AttributeError. Library -------