Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code | Sign in
(5)

Delta Between Two Patch Sets: Misc/NEWS

Issue 4806: Function calls taking a generator as star argument can mask TypeErrors in the generator
Left Patch Set: Created 4 years, 11 months ago
Right Patch Set: Created 4 years ago
Left:
Right:
Use n/p to move between diff chunks; N/P to move between comments. Please Sign in to add in-line comments.
Jump to:
Right: Side by side diff | Download
« no previous file with change/comment | « Lib/test/test_extcall.py ('k') | Python/ceval.c » ('j') | no next file with change/comment »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
LEFTRIGHT
(no file at all)
1 +++++++++++ 1 +++++++++++
2 Python News 2 Python News
3 +++++++++++ 3 +++++++++++
4 4
5 What's New in Python 2.7.12? 5 What's New in Python 2.7.12?
6 ============================ 6 ============================
7 7
8 *Release date: XXXX-XX-XX* 8 *Release date: XXXX-XX-XX*
9 9
10 Core and Builtins 10 Core and Builtins
11 ----------------- 11 -----------------
12
13 - Issue #4806: Avoid masking the original TypeError exception when using star
14 (*) unpacking and the exception was raised from a generator. Based on
15 patch by Hagen F├╝rstenau.
12 16
13 - Issue #25843: When compiling code, don't merge constants if they are equal 17 - Issue #25843: When compiling code, don't merge constants if they are equal
14 but have a different types. For example, ``f1, f2 = lambda: 1, lambda: 1.0`` 18 but have a different types. For example, ``f1, f2 = lambda: 1, lambda: 1.0``
15 is now correctly compiled to two different functions: ``f1()`` returns ``1`` 19 is now correctly compiled to two different functions: ``f1()`` returns ``1``
16 (``int``) and ``f2()`` returns ``1.0`` (``int``), even if ``1`` and ``1.0`` 20 (``int``) and ``f2()`` returns ``1.0`` (``int``), even if ``1`` and ``1.0``
17 are equal. 21 are equal.
18 22
19 - Issue #22995: [UPDATE] Remove the one of the pickleability tests in 23 - Issue #22995: [UPDATE] Remove the one of the pickleability tests in
20 _PyObject_GetState() due to regressions observed in Cython-based projects. 24 _PyObject_GetState() due to regressions observed in Cython-based projects.
21 25
(...skipping 11534 matching lines...) Expand 10 before | Expand all | Expand 10 after
11556 - buildtools now raises a DeprecationWarning. 11560 - buildtools now raises a DeprecationWarning.
11557 11561
11558 - Removed the macfs module. It had been deprecated since Python 2.5. 11562 - Removed the macfs module. It had been deprecated since Python 2.5.
11559 This lead to the deprecation of macostools.touched() as it relied 11563 This lead to the deprecation of macostools.touched() as it relied
11560 solely on macfs and was a no-op under OS X. 11564 solely on macfs and was a no-op under OS X.
11561 11565
11562 ---- 11566 ----
11563 11567
11564 **(For information about older versions, consult the HISTORY file.)** 11568 **(For information about older versions, consult the HISTORY file.)**
11565 11569
LEFTRIGHT

RSS Feeds Recent Issues | This issue
This is Rietveld 894c83f36cb7+