From: Ezio Melotti Date: Wed, 10 Apr 2013 16:34:05 +0000 (+0300) Subject: #12820: merge with 3.3. X-Git-Tag: v3.4.0a1~992^2 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=161194a5d0b0785cefe9dde017707409a31ef712;p=python #12820: merge with 3.3. --- 161194a5d0b0785cefe9dde017707409a31ef712 diff --cc Misc/NEWS index ff0226a844,826ad85860..ad58089720 --- a/Misc/NEWS +++ b/Misc/NEWS @@@ -10,63 -12,84 +10,69 @@@ What's New in Python 3.4.0 Alpha 1 Core and Builtins ----------------- -- Issue #17619: Make input() check for Ctrl-C correctly on Windows. +- Issue #14439: Python now prints the traceback on runpy failure at startup. -- Issue #17610: Don't rely on non-standard behavior of the C qsort() function. +- Issue #17469: Fix _Py_GetAllocatedBlocks() and sys.getallocatedblocks() + when running on valgrind. -- Issue #17357: Add missing verbosity output when using -v/-vv. +- Issue #17619: Make input() check for Ctrl-C correctly on Windows. -Library -------- +- Issue #17357: Add missing verbosity messages for -v/-vv that were lost during + the importlib transition. -- Issue #17678: Fix DeprecationWarning in the http/cookiejar.py by changing the - usage of get_origin_req_host() to origin_req_host. +- Issue #17610: Don't rely on non-standard behavior of the C qsort() function. -- Issue #17666: Fix reading gzip files with an extra field. +- Issue #17323: The "[X refs, Y blocks]" printed by debug builds has been + disabled by default. It can be re-enabled with the `-X showrefcount` option. -- Issue #17502: Process DEFAULT values in mock side_effect that returns iterator. - Patch by Michael Foord. +- Issue #17522: Add the PyGILState_Check() API. -- Issue #17572: Avoid chained exceptions while passing bad directives to - time.strptime(). Initial patch by Claudiu Popa. +- Issue #17327: Add PyDict_SetDefault. -- Issue #17435: threading.Timer's __init__ method no longer uses mutable - default values for the args and kwargs parameters. +Library +------- -- Issue #17526: fix an IndexError raised while passing code without filename to - inspect.findsource(). Initial patch by Tyler Doyle. +- Issue #17675: socket repr() provides local and remote addresses (if any). + Patch by Giampaolo Rodola' -IDLE ----- +- Issue #17093: Make the ABCs in importlib.abc provide default values or raise + reasonable exceptions for their methods to make them more amenable to super() + calls. -- Issue #17657: Show full Tk version in IDLE's about dialog. - Patch by Todd Rovito. +- Issue #17566: Make importlib.abc.Loader.module_repr() optional instead of an + abstractmethod and raising NotImplementedError so as to be ignored by default. -- Issue #17613: Prevent traceback when removing syntax colorizer in IDLE. +- Issue #17678: Remove the use of deprecated method in http/cookiejar.py. + Changing the usage of get_origin_req_host() to origin_req_host. -- Issue #1207589: Backwards-compatibility patch for right-click menu in IDLE. +- Issue #17666: Fix reading gzip files with an extra field. -- Issue #16887: IDLE now accepts Cancel in tabify/untabify dialog box. +- Issue #16475: Support object instancing, recursion and interned strings + in marshal -- Issue #17625: In IDLE, close the replace dialog after it is used. +- Issue #17502: Process DEFAULT values in mock side_effect that returns iterator. -- Issue #14254: IDLE now handles readline correctly across shell restarts. +- Use the HTTPS PyPI url for upload, overriding any plain HTTP URL in pypirc. -- Issue #17614: IDLE no longer raises exception when quickly closing a file. +- Issue #16795: On the ast.arguments object, unify vararg with varargannotation + and kwarg and kwargannotation. Change the column offset of ast.Attribute to be + at the attribute name. -- Issue #6698: IDLE now opens just an editor window when configured to do so. +- Issue #17434: Properly raise a SyntaxError when a string occurs between future + imports. -- Issue #8900: Using keyboard shortcuts in IDLE to open a file no longer - raises an exception. +- Issue #17117: Import and @importlib.util.set_loader now set __loader__ when + it has a value of None or the attribute doesn't exist. -- Issue #6649: Fixed missing exit status in IDLE. Patch by Guilherme Polo. +- Issue #17032: The "global" in the "NameError: global name 'x' is not defined" + error message has been removed. Patch by Ram Rachum. + Tests + ----- + + - Issue #12820: add tests for the xml.dom.minicompat module. + Patch by John Chandler and Phil Connell. + -Documentation -------------- - -- Issue #15940: Specify effect of locale on time functions. - - -What's New in Python 3.3.1? -=========================== - -*Release date: 07-Apr-2013* - -Build ------ - -- Issue #17550: Fix the --enable-profiling configure switch. - -Library -------- - -- Issue #17625: In IDLE, close the replace dialog after it is used. - What's New in Python 3.3.1 release candidate 1? ===============================================