From: Antoine Pitrou Date: Wed, 9 Mar 2011 11:47:20 +0000 (+0100) Subject: Merge fix for issue #11450 X-Git-Tag: v3.2.1b1~332 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=35db8a80c19aef7418ed4e1572b962cba6577625;p=python Merge fix for issue #11450 --- 35db8a80c19aef7418ed4e1572b962cba6577625 diff --cc Misc/NEWS index a071a900e0,b3d099b2cb..7278161355 --- a/Misc/NEWS +++ b/Misc/NEWS @@@ -10,23 -10,32 +10,26 @@@ What's New in Python 3.2.1 Core and Builtins ----------------- + - Issue #11450: Don't truncate hg version info in Py_GetBuildInfo() when + there are many tags (e.g. when using mq). Patch by Nadeem Vawda. + -- Issue #10451: memoryview objects could allow to mutate a readable buffer. - Initial patch by Ross Lagerwall. - -- Issue #10892: Don't segfault when trying to delete __abstractmethods__ from a - class. +- Issue #11246: Fix PyUnicode_FromFormat("%V") to decode the byte string from + UTF-8 (with replace error handler) instead of ISO-8859-1 (in strict mode). + Patch written by Ray Allen. -- Issue #8020: Avoid a crash where the small objects allocator would read - non-Python managed memory while it is being modified by another thread. - Patch by Matt Bandy. +- Issue #11286: Raise a ValueError from calling PyMemoryView_FromBuffer with + a buffer struct having a NULL data pointer. -- Issue #8278: On Windows and with a NTFS filesystem, os.stat() and os.utime() - can now handle dates after 2038. +- Issue #11272: On Windows, input() strips '\r' (and not only '\n'), and + sys.stdin uses universal newline (replace '\r\n' by '\n'). -- Issue #4236: PyModule_Create2 now checks the import machinery directly - rather than the Py_IsInitialized flag, avoiding a Fatal Python - error in certain circumstances when an import is done in __del__. +- Issue #10830: Fix PyUnicode_FromFormatV("%c") for non-BMP characters on + narrow build. -- Issue #10596: Fix float.__mod__ to have the same behaviour as - float.__divmod__ with respect to signed zeros. -4.0 % 4.0 should be - 0.0, not -0.0. +- Check for NULL result in PyType_FromSpec. -- Issue #5587: add a repr to dict_proxy objects. Patch by David Stanek and - Daniel Urban. +- Issue #11386: bytearray.pop() now throws IndexError when the bytearray is + empty, instead of OverflowError. Library -------