From: Vinay Sajip Date: Sat, 17 Oct 2015 15:17:52 +0000 (+0100) Subject: Closes #25411: Merged fix from 3.4. X-Git-Tag: v3.5.1rc1~153 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=3f445f799aeb041cada532be23d835c15a61d432;p=python Closes #25411: Merged fix from 3.4. --- 3f445f799aeb041cada532be23d835c15a61d432 diff --cc Misc/NEWS index 3c94e4a882,c6a4d3f9f5..71009af0a3 --- a/Misc/NEWS +++ b/Misc/NEWS @@@ -35,30 -28,76 +35,33 @@@ Core and Builtin - Issue #25182: The stdprinter (used as sys.stderr before the io module is imported at startup) now uses the backslashreplace error handler. -- Issue #24891: Fix a race condition at Python startup if the file descriptor - of stdin (0), stdout (1) or stderr (2) is closed while Python is creating - sys.stdin, sys.stdout and sys.stderr objects. These attributes are now set - 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 #4395: Better testing and documentation of binary operators. - Patch by Martin Panter. - -- 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. - -- 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 #24102: Fixed exception type checking in standard error handlers. - -- Issue #23757: PySequence_Tuple() incorrectly called the concrete list API - when the data was a list subclass. - -- Issue #24407: Fix crash when dict is mutated while being updated. - -- 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. - -- Issue #24022: Fix tokenizer crash when processing undecodable source code. - -- 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 #25131: Make the line number and column offset of set/dict literals and + comprehensions correspond to the opening brace. -- Issue #22977: Fixed formatting Windows error messages on Wine. - Patch by Martin Panter. +- Issue #25150: Hide the private _Py_atomic_xxx symbols from the public + Python.h header to fix a compilation error with OpenMP. PyThreadState_GET() + becomes an alias to PyThreadState_Get() to avoid ABI incompatibilies. -- Issue #23803: Fixed str.partition() and str.rpartition() when a separator - is wider then partitioned string. +Library +------- -- Issue #23192: Fixed generator lambdas. Patch by Bruno Cauet. ++- Issue #25411: Improved Unicode support in SMTPHandler through better use of ++ the email package. Thanks to user simon04 for the patch. + -- Issue #23629: Fix the default __sizeof__ implementation for variable-sized - objects. +- Issue #25407: Remove mentions of the formatter module being removed in + Python 3.6. -- Issue #24044: Fix possible null pointer dereference in list.sort in out of - memory conditions. +- Issue #25406: Fixed a bug in C implementation of OrderedDict.move_to_end() + that caused segmentation fault or hang in iterating after moving several + items to the start of ordered dict. -- Issue #21354: PyCFunction_New function is exposed by python DLL again. +- Issue #25364: zipfile now works in threads disabled builds. -Library -------- +- Issue #25328: smtpd's SMTPChannel now correctly raises a ValueError if both + decode_data and enable_SMTPUTF8 are set to true. -- Issue #25411: Improved Unicode support in SMTPHandler through better use of - the email package. Thanks to user simon04 for the patch. +- Issue #25316: distutils raises OSError instead of DistutilsPlatformError + when MSVC is not installed. - Issue #25380: Fixed protocol for the STACK_GLOBAL opcode in pickletools.opcodes.