From: Victor Stinner Date: Wed, 29 Jul 2015 12:35:12 +0000 (+0200) Subject: Merge 3.4 (ctypes) X-Git-Tag: v3.5.0rc1~74 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=5ef6fde92c76df03455481bb1f4d6f2125c9e3ac;p=thirdparty%2FPython%2Fcpython.git Merge 3.4 (ctypes) --- 5ef6fde92c76df03455481bb1f4d6f2125c9e3ac diff --cc Misc/NEWS index f2de335c1ff3,86267577bd73..7554fcc2d70f --- a/Misc/NEWS +++ b/Misc/NEWS @@@ -10,39 -10,58 +10,42 @@@ 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. - -- Issue #24115: Update uses of PyObject_IsTrue(), PyObject_Not(), - PyObject_IsInstance(), PyObject_RichCompareBool() and _PyDict_Contains() - to check for and handle errors correctly. - -- Issue #24257: Fixed system error in the comparison of faked - types.SimpleNamespace. - -- Issue #22939: Fixed integer overflow in iterator object. Patch by - Clement Rouault. +Library +------- -- 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 #23319: Fix ctypes.BigEndianStructure, swap correctly bytes. Patch ++ written by Matthieu Gautier. + -- Issue #24102: Fixed exception type checking in standard error handlers. +- Issue #23254: Document how to close the TCPServer listening socket. + Patch from Martin Panter. -- Issue #23757: PySequence_Tuple() incorrectly called the concrete list API - when the data was a list subclass. +- Issue #19450: Update Windows and OS X installer builds to use SQLite 3.8.11. -- Issue #24407: Fix crash when dict is mutated while being updated. +- Issue #17527: Add PATCH to wsgiref.validator. Patch from Luca Sbardella. -- 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 -------