]> granicus.if.org Git - python/commitdiff
Issue #4806: Merge * unpacking fix from 3.5
authorMartin Panter <vadmium+py@gmail.com>
Sun, 31 Jan 2016 06:33:16 +0000 (06:33 +0000)
committerMartin Panter <vadmium+py@gmail.com>
Sun, 31 Jan 2016 06:33:16 +0000 (06:33 +0000)
1  2 
Misc/NEWS
Python/ceval.c

diff --cc Misc/NEWS
index 5ea810cd5a43ff190032a9885a9a2ed7c4905bdc,11ce59a768710d6cbce577afff7e2a204ffbab74..ee39f998c8ef46a38a6f30fb315fbc5c01899080
+++ b/Misc/NEWS
@@@ -10,12 -10,20 +10,16 @@@ Release date: tb
  Core and Builtins
  -----------------
  
 -- Issue #26154: Add a new private _PyThreadState_UncheckedGet() function to get
 -  the current Python thread state, but don't issue a fatal error if it is NULL.
 -  This new function must be used instead of accessing directly the
 -  _PyThreadState_Current variable.  The variable is no more exposed since
 -  Python 3.5.1 to hide the exact implementation of atomic C types, to avoid
 -  compiler issues.
+ - Issue #4806: Avoid masking the original TypeError exception when using star
+   (*) unpacking in function calls.  Based on patch by Hagen Fürstenau and
+   Daniel Urban.
 +- Issue #26146: Add a new kind of AST node: ``ast.Constant``. It can be used
 +  by external AST optimizers, but the compiler does not emit directly such
 +  node.
  
 -- Issue #26194:  Deque.insert() gave odd results for bounded deques that had
 -  reached their maximum size.  Now, the insert will happen normally and then
 -  any overflowing element will be truncated from the right side.
 +- Issue #18018: Import raises ImportError instead of SystemError if a relative
 +  import is attempted without a known parent package.
  
  - 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``
diff --cc Python/ceval.c
Simple merge