From: Nick Coghlan Date: Wed, 5 Aug 2015 13:23:24 +0000 (+1000) Subject: Merge issue #24129 from 3.4 X-Git-Tag: v3.6.0a1~1835^2 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=73c6f64a5e25dc78782a6c84f739d581f1d5501d;p=python Merge issue #24129 from 3.4 --- 73c6f64a5e25dc78782a6c84f739d581f1d5501d diff --cc Misc/NEWS index b28f5ea7e2,ac2915eec4..337e58230d --- a/Misc/NEWS +++ b/Misc/NEWS @@@ -10,79 -10,89 +10,84 @@@ 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 #23973: Update typing.py from GitHub repo. -- Issue #24257: Fixed system error in the comparison of faked - types.SimpleNamespace. +- Issue #23888: Handle fractional time in cookie expiry. Patch by ssh. -- Issue #22939: Fixed integer overflow in iterator object. Patch by - Clement Rouault. +- Issue #23652: Make it possible to compile the select module against the + libc headers from the Linux Standard Base, which do not include some + EPOLL macros. Patch by Matt Frank. -- 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 #22932: Fix timezones in email.utils.formatdate. + Patch from Dmitry Shachnev. -- Issue #24102: Fixed exception type checking in standard error handlers. +- Issue #23779: imaplib raises TypeError if authenticator tries to abort. + Patch from Craig Holmquist. -- Issue #23757: PySequence_Tuple() incorrectly called the concrete list API - when the data was a list subclass. +- Issue #23319: Fix ctypes.BigEndianStructure, swap correctly bytes. Patch + written by Matthieu Gautier. -- Issue #24407: Fix crash when dict is mutated while being updated. +- Issue #23254: Document how to close the TCPServer listening socket. + Patch from Martin Panter. -- Issue #24096: Make warnings.warn_explicit more robust against mutation of the - warnings.filters list. +- Issue #19450: Update Windows and OS X installer builds to use SQLite 3.8.11. -- Issue #23996: Avoid a crash when a delegated generator raises an - unnormalized StopIteration exception. Patch by Stefan Behnel. +- Issue #17527: Add PATCH to wsgiref.validator. Patch from Luca Sbardella. -- Issue #24022: Fix tokenizer crash when processing undecodable source code. +Documentation +------------- -- 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 #24129: Clarify the reference documentation for name resolution. ++ This includes removing the assumption that readers will be familiar with the ++ name resolution scheme Python used prior to the introduction of lexical ++ scoping for function namespaces. Patch by Ivan Levkivskyi. + -- Issue #22977: Fixed formatting Windows error messages on Wine. - Patch by Martin Panter. +- Issue #20769: Improve reload() docs. Patch by Dorian Pula. -- Issue #23803: Fixed str.partition() and str.rpartition() when a separator - is wider then partitioned string. +- Issue #23589: Remove duplicate sentence from the FAQ. Patch by Yongzhi Pan. -- Issue #23192: Fixed generator lambdas. Patch by Bruno Cauet. +- Issue #24729: Correct IO tutorial to match implementation regarding + encoding parameter to open function. -- Issue #23629: Fix the default __sizeof__ implementation for variable-sized - objects. +Tests +----- -- Issue #24044: Fix possible null pointer dereference in list.sort in out of - memory conditions. +- Issue #24751: When running regrtest with the ``-w`` command line option, + a test run is no longer marked as a failure if all tests succeed when + re-run. -- Issue #21354: PyCFunction_New function is exposed by python DLL again. -Library -------- +What's New in Python 3.5.0 beta 4? +================================== -- Issue #23888: Handle fractional time in cookie expiry. Patch by ssh. +Release date: 2015-07-26 -- Issue #23652: Make it possible to compile the select module against the - libc headers from the Linux Standard Base, which do not include some - EPOLL macros. Patch by Matt Frank. +Core and Builtins +----------------- -- Issue #22932: Fix timezones in email.utils.formatdate. - Patch from Dmitry Shachnev. +- Issue #23573: Restored optimization of bytes.rfind() and bytearray.rfind() + for single-byte argument on Linux. -- Issue #23779: imaplib raises TypeError if authenticator tries to abort. - Patch from Craig Holmquist. +- Issue #24569: Make PEP 448 dictionary evaluation more consistent. -- Issue #23319: Fix ctypes.BigEndianStructure, swap correctly bytes. Patch - written by Matthieu Gautier. +- Issue #24583: Fix crash when set is mutated while being updated. -- Issue #23254: Document how to close the TCPServer listening socket. - Patch from Martin Panter. +- Issue #24407: Fix crash when dict is mutated while being updated. -- Issue #19450: Update Windows and OS X installer builds to use SQLite 3.8.11. +- 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 #23441: rcompleter now prints a tab character instead of displaying - possible completions for an empty word. Initial patch by Martin Sekera. +- Issue #24687: Plug refleak on SyntaxError in function parameters + annotations. -- Issue #24735: Fix invalid memory access in - itertools.combinations_with_replacement(). +Library +------- -- Issue #17527: Add PATCH to wsgiref.validator. Patch from Luca Sbardella. +- Issue #23441: rcompleter now prints a tab character instead of displaying + possible completions for an empty word. Initial patch by Martin Sekera. - Issue #24683: Fixed crashes in _json functions called with arguments of inappropriate type.