[issue2009] Grammar change to prevent shift/reduce problem with varargslist

Mark Dickinson report at bugs.python.org
Fri Jul 9 12:20:18 CEST 2010

Mark Dickinson <dickinsm at gmail.com> added the comment:

No,  "def f(*, a,): ..." is still a SyntaxError with the patch.  I'd think that allowing that extra comma *would* be a violation of the moratorium, though maybe it's debatable.  Perhaps worth bringing up on python-dev?


Python tracker <report at bugs.python.org>

More information about the Python-bugs-list mailing list