SIGN IN SIGN UP
python / cpython UNCLAIMED

The Python programming language

0 0 16 Python

Fix bug reported by Ka-Ping Yee: The compiler botched parsing function

parameters that contained both anonymous tuples and *arg or **arg. Ex:
def f(a, (b, c), *d): pass

Fix the symtable_params() to generate names in the right order for
co_varnames slot of code object.  Consider *arg and **arg before the
"complex" names introduced by anonymous tuples.
J
Jeremy Hylton committed
a6ebc4841db8324d89266436f4b4ac28a1f2141d
Parent: 41eb3c7