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

Unified Diff: Misc/NEWS

Issue 4806: Function calls taking a generator as star argument can mask TypeErrors in the generator
Patch Set: Created 4 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Please Sign in to add in-line comments.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « Lib/test/test_extcall.py ('k') | Python/ceval.c » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
--- a/Misc/NEWS Fri Jan 29 19:06:00 2016 -0600
+++ b/Misc/NEWS Sun Jan 31 11:19:40 2016 +0000
@@ -10,6 +10,10 @@
Core and Builtins
-----------------
+- Issue #4806: Avoid masking the original TypeError exception when using star
+ (*) unpacking and the exception was raised from a generator. Based on
+ patch by Hagen F├╝rstenau.
+
- Issue #25843: When compiling code, don't merge constants if they are equal
but have a different types. For example, ``f1, f2 = lambda: 1, lambda: 1.0``
is now correctly compiled to two different functions: ``f1()`` returns ``1``
« no previous file with comments | « Lib/test/test_extcall.py ('k') | Python/ceval.c » ('j') | no next file with comments »

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