From: Terry Jan Reedy Date: Tue, 28 May 2013 01:33:40 +0000 (-0400) Subject: Merge with 3.3 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=667a03b292e881f1ab0d0dba181868200d2abaf9;p=python Merge with 3.3 --- 667a03b292e881f1ab0d0dba181868200d2abaf9 diff --cc Misc/NEWS index 94b94d7623,0960423015..fd2978f360 --- a/Misc/NEWS +++ b/Misc/NEWS @@@ -10,48 -12,79 +10,51 @@@ What's New in Python 3.4.0 Alpha 1 Core and Builtins ----------------- -- Issue #17644: Fix a crash in str.format when curly braces are used in square - brackets. - -- Issue #17983: Raise a SyntaxError for a ``global __class__`` statement in a - class body. - -- Issue #17927: Frame objects kept arguments alive if they had been copied into - a cell, even if the cell was cleared. - -Library -------- - -- Issue #16986: ElementTree now correctly parses a string input not only when - an internal XML encoding is UTF-8 or US-ASCII. - -- Issue #17812: Fixed quadratic complexity of base64.b32encode(). - -- Issue #17980: Fix possible abuse of ssl.match_hostname() for denial of - service using certificates with many wildcards (CVE-2013-2099). - -- Issue #17981: Closed socket on error in SysLogHandler. - -- Fix typos in the multiprocessing module. - -- Issue #17754: Make ctypes.util.find_library() independent of the locale. - -- Issue #17968: Fix memory leak in os.listxattr(). - -- Issue #17269: Workaround for socket.getaddrinfo crash on MacOS X - with port None or "0" and flags AI_NUMERICSERV. - -IDLE ----- - +- Issue #17206: Py_CLEAR(), Py_DECREF(), Py_XINCREF() and Py_XDECREF() now + expand their arguments once instead of multiple times. Patch written by Illia + Polosukhin. + - Issue #15392: Create a unittest framework for IDLE. + Rajagopalasarma Jayakrishnan + -- Issue #14146: Highlight source line while debugging on Windows. -- Issue #17532: Always include Options menu for IDLE on OS X. - Patch by Guilherme Simões. +- Issue #17937: Try harder to collect cyclic garbage at shutdown. -Tests ------ +- Issue #12370: Prevent class bodies from interfering with the __class__ + closure. -- Issue #11995: test_pydoc doesn't import all sys.path modules anymore. - -Documentation -------------- +- Issue #17644: Fix a crash in str.format when curly braces are used in square + brackets. -- Issue #17953: Mention that you shouldn't replace sys.modules and deleting key - items will cause Python to not be happy. +- Issue #17237: Fix crash in the ASCII decoder on m68k. -- Issue #17844: Add links to encoders and decoders for bytes-to-bytes codecs. +- Issue #17927: Frame objects kept arguments alive if they had been + copied into a cell, even if the cell was cleared. -- Issue #14097: improve the "introduction" page of the tutorial. +- Issue #1545463: At shutdown, defer finalization of codec modules so + that stderr remains usable. -- Issue #17977: The documentation for the cadefault argument's default value - in urllib.request.urlopen() is fixed to match the code. +- Issue #7330: Implement width and precision (ex: "%5.3s") for the format + string of PyUnicode_FromFormat() function, original patch written by Ysj Ray. +- Issue #1545463: Global variables caught in reference cycles are now + garbage-collected at shutdown. -What's New in Python 3.3.2? -=========================== +- Issue #17094: Clear stale thread states after fork(). Note that this + is a potentially disruptive change since it may release some system + resources which would otherwise remain perpetually alive (e.g. database + connections kept in thread-local storage). -*Release date: 13-May-2013* +- Issue #17408: Avoid using an obsolete instance of the copyreg module when + the interpreter is shutdown and then started again. -Core and Builtins ------------------ +- Issue #5845: Enable tab-completion in the interactive interpreter by + default, thanks to a new sys.__interactivehook__. -- Issue #17237: Fix crash in the ASCII decoder on m68k. +- Issue #17115,17116: Module initialization now includes setting __package__ and + __loader__ attributes to None. -- Issue #17408: Avoid using an obsolete instance of the copyreg module when - the interpreter is shutdown and then started again. +- Issue #17853: Ensure locals of a class that shadow free variables always win + over the closures. - Issue #17863: In the interactive console, don't loop forever if the encoding can't be fetched from stdin.