From: Nick Coghlan Date: Sun, 17 Jun 2012 11:30:35 +0000 (+1000) Subject: Merge from 3.2 (Ignore X-Antivirus headers in test_nntplib) X-Git-Tag: v3.3.0b1~204 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=307ef8aee5a79095d7088a60615a46260d159a98;p=python Merge from 3.2 (Ignore X-Antivirus headers in test_nntplib) --- 307ef8aee5a79095d7088a60615a46260d159a98 diff --cc Misc/NEWS index 90661af46c,446688c01a..c6ba9dd41f --- a/Misc/NEWS +++ b/Misc/NEWS @@@ -112,99 -91,6 +112,102 @@@ Librar - Issue #14962: Update text coloring in IDLE shell window after changing options. Patch by Roger Serwy. +- Issue #14963: Convert contextlib.ExitStack.__exit__ to use an iterative + algorithm (Patch by Alon Horev) + +C-API +----- + +- Issue #13783: Inadvertent additions to the public C API in the PEP 380 + implementation have either been removed or marked as private interfaces. + +Extension Modules +----------------- + +- Issue #15000: Support the "unique" x32 architecture in _posixsubprocess.c. + +Documentation +------------- + +- Issue #14814: Added first draft of ipaddress module API reference + +Tests +----- + ++- test_nntplib now tolerates being run from behind NNTP gateways that add ++ "X-Antivirus" headers to articles ++ +- Issue #15043: test_gdb is now skipped entirely if gdb security settings + block loading of the gdb hooks + +- Issue #14963: Add test cases for exception handling behaviour + in contextlib.ExitStack (Initial patch by Alon Horev) + + +What's New in Python 3.3.0 Alpha 4? +=================================== + +*Release date: 31-May-2012* + +Core and Builtins +----------------- + +- Issue #14835: Make plistlib output empty arrays & dicts like OS X. + Patch by Sidney San Martín. + +- Issue #14744: Use the new _PyUnicodeWriter internal API to speed up + str%args and str.format(args). + +- Issue #14930: Make memoryview objects weakrefable. + +- Issue #14775: Fix a potential quadratic dict build-up due to the garbage + collector repeatedly trying to untrack dicts. + +- Issue #14857: fix regression in references to PEP 3135 implicit __class__ + closure variable (Reopens issue #12370) + +- Issue #14712 (PEP 405): Virtual environments. Implemented by Vinay Sajip. + +- Issue #14660 (PEP 420): Namespace packages. Implemented by Eric Smith. + +- Issue #14494: Fix __future__.py and its documentation to note that + absolute imports are the default behavior in 3.0 instead of 2.7. + Patch by Sven Marnach. + +- Issue #9260: A finer-grained import lock. Most of the import sequence + now uses per-module locks rather than the global import lock, eliminating + well-known issues with threads and imports. + +- Issue #14624: UTF-16 decoding is now 3x to 4x faster on various inputs. + Patch by Serhiy Storchaka. + +- asdl_seq and asdl_int_seq are now Py_ssize_t sized. + +- Issue #14133 (PEP 415): Implement suppression of __context__ display with an + attribute on BaseException. This replaces the original mechanism of PEP 409. + +- Issue #14417: Mutating a dict during lookup now restarts the lookup instead + of raising a RuntimeError (undoes issue #14205). + +- Issue #14738: Speed-up UTF-8 decoding on non-ASCII data. Patch by Serhiy + Storchaka. + +- Issue #14700: Fix two broken and undefined-behaviour-inducing overflow checks + in old-style string formatting. + +- Issue #14705: The PyArg_Parse() family of functions now support the 'p' format + unit, which accepts a "boolean predicate" argument. It converts any Python + value into an integer--0 if it is "false", and 1 otherwise. + +Library +------- + +- Issue #14690: Use monotonic clock instead of system clock in the sched, + subprocess and trace modules. + +- Issue #14958: Change IDLE systax highlighting to recognize all string and + byte literals supported in Python 3.3. + - Issue #10997: Prevent a duplicate entry in IDLE's "Recent Files" menu. - Issue #14443: Tell rpmbuild to use the correct version of Python in