Index: Python/symtable.c =================================================================== --- Python/symtable.c (revision 64022) +++ Python/symtable.c (working copy) @@ -1273,9 +1273,15 @@ int i; for (i = 0; i < asdl_seq_LEN(args); i++) { expr_ty arg = (expr_ty)asdl_seq_GET(args, i); - if (arg->kind == Tuple_kind && - !symtable_visit_params(st, arg->v.Tuple.elts, 0)) - return 0; + if (arg->kind == Tuple_kind) { + if (Py_Py3kWarningFlag && + !symtable_warn(st, "In 3.x, " + "tuple parameter upacking is removed.", + st->st_cur->ste_lineno)) + return 0; + if (!symtable_visit_params(st, arg->v.Tuple.elts, 0)) + return 0; + } } return 1;