From: Benjamin Peterson Date: Wed, 18 Apr 2012 15:19:00 +0000 (-0400) Subject: merge 3.2 (#14612) X-Git-Tag: v3.3.0a3~168 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=6e3358a1d59acfd9507cd9a7b4513319b99d21ab;p=python merge 3.2 (#14612) --- 6e3358a1d59acfd9507cd9a7b4513319b99d21ab diff --cc Lib/test/test_sys_settrace.py index 578e95d627,ea2bb2987a..fdf958ce24 --- a/Lib/test/test_sys_settrace.py +++ b/Lib/test/test_sys_settrace.py @@@ -747,9 -747,10 +755,12 @@@ class JumpTestCase(unittest.TestCase) def test_18_no_jump_to_non_integers(self): self.run_test(no_jump_to_non_integers) def test_19_no_jump_without_trace_function(self): + # Must set sys.settrace(None) in setUp(), else condition is not + # triggered. no_jump_without_trace_function() + def test_jump_across_with(self): + self.addCleanup(support.unlink, support.TESTFN) + self.run_test(jump_across_with) def test_20_large_function(self): d = {} diff --cc Misc/NEWS index 641da18fd5,43f08c93ec..0e55a24a5f --- a/Misc/NEWS +++ b/Misc/NEWS @@@ -10,19 -10,10 +10,21 @@@ What's New in Python 3.3.0 Alpha 3 Core and Builtins ----------------- +- Issue #12599: Be more strict in accepting None compared to a false-like + object for importlib.util.module_for_loader and + importlib.machinery.PathFinder. + + - Issue #14612: Fix jumping around with blocks by setting f_lineno. + +- Issue #14592: Attempting a relative import w/o __package__ or __name__ set in + globals raises a KeyError. + - Issue #14607: Fix defaults keyword-only arguments which started with ``__``. +- Issue #10854: The ImportError raised when an extension module on Windows + fails to import now uses the new path and name attributes from + Issue #1559549. + - Issue #13889: Check and (if necessary) set FPU control word before calling any of the dtoa.c string <-> float conversion functions, on MSVC builds of Python. This fixes issues when embedding Python in a Delphi app.