From: Jason R. Coombs Date: Wed, 29 Jul 2015 18:29:26 +0000 (-0400) Subject: Merge with 3.4 for Issue #24729 X-Git-Tag: v3.6.0a1~1885^2 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=0598da39ec6ac40f9bebfe3495f47a0e350141ec;p=python Merge with 3.4 for Issue #24729 --- 0598da39ec6ac40f9bebfe3495f47a0e350141ec diff --cc Misc/NEWS index 7f3f4182c4,38bdccba3d..b9950c3a27 --- a/Misc/NEWS +++ b/Misc/NEWS @@@ -10,47 -10,58 +10,50 @@@ Release date: 2015-08-0 Core and Builtins ----------------- -- 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. +Library +------- -- Issue #24115: Update uses of PyObject_IsTrue(), PyObject_Not(), - PyObject_IsInstance(), PyObject_RichCompareBool() and _PyDict_Contains() - to check for and handle errors correctly. +- Issue #23319: Fix ctypes.BigEndianStructure, swap correctly bytes. Patch + written by Matthieu Gautier. -- Issue #24257: Fixed system error in the comparison of faked - types.SimpleNamespace. +- Issue #23254: Document how to close the TCPServer listening socket. + Patch from Martin Panter. -- Issue #22939: Fixed integer overflow in iterator object. Patch by - Clement Rouault. +- Issue #19450: Update Windows and OS X installer builds to use SQLite 3.8.11. -- 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 #17527: Add PATCH to wsgiref.validator. Patch from Luca Sbardella. -- Issue #24102: Fixed exception type checking in standard error handlers. +Documentation +------------- -- Issue #23757: PySequence_Tuple() incorrectly called the concrete list API - when the data was a list subclass. +- Issue #23589: Remove duplicate sentence from the FAQ. Patch by Yongzhi Pan. -- Issue #24407: Fix crash when dict is mutated while being updated. ++- Issue #24729: Correct IO tutorial to match implementation regarding ++ encoding parameter to open function. + -- Issue #24096: Make warnings.warn_explicit more robust against mutation of the - warnings.filters list. -- Issue #23996: Avoid a crash when a delegated generator raises an - unnormalized StopIteration exception. Patch by Stefan Behnel. +What's New in Python 3.5.0 beta 4? +================================== -- Issue #24022: Fix tokenizer crash when processing undecodable source code. +Release date: 2015-07-26 -- 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. +Core and Builtins +----------------- -- Issue #22977: Fixed formatting Windows error messages on Wine. - Patch by Martin Panter. +- Issue #23573: Restored optimization of bytes.rfind() and bytearray.rfind() + for single-byte argument on Linux. -- Issue #23803: Fixed str.partition() and str.rpartition() when a separator - is wider then partitioned string. +- Issue #24569: Make PEP 448 dictionary evaluation more consistent. -- Issue #23192: Fixed generator lambdas. Patch by Bruno Cauet. +- Issue #24583: Fix crash when set is mutated while being updated. -- Issue #23629: Fix the default __sizeof__ implementation for variable-sized - objects. +- Issue #24407: Fix crash when dict is mutated while being updated. -- Issue #24044: Fix possible null pointer dereference in list.sort in out of - memory conditions. +- Issue #24619: New approach for tokenizing async/await. As a consequence, + is is now possible to have one-line 'async def foo(): await ..' functions. -- Issue #21354: PyCFunction_New function is exposed by python DLL again. +- Issue #24687: Plug refleak on SyntaxError in function parameters + annotations. Library -------