commit | a6ebc4841db8324d89266436f4b4ac28a1f2141d | [log] [tgz] |
---|---|---|
author | Jeremy Hylton <jeremy@alum.mit.edu> | Thu Jan 25 17:01:49 2001 +0000 |
committer | Jeremy Hylton <jeremy@alum.mit.edu> | Thu Jan 25 17:01:49 2001 +0000 |
tree | 123f68e94def46310774cef093451a8912cad1ae | |
parent | 41eb3c7dc5064e8e2c66d3066f6cffb1ae4252b5 [diff] |
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.