[issue2009] Grammar change to prevent shift/reduce problem with varargslist
Nick Coghlan
report at bugs.python.org
Fri Jul 9 12:28:02 CEST 2010
Nick Coghlan <ncoghlan 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?
Good point - I just wouldn't worry about it in that case.
----------
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue2009>
_______________________________________
More information about the Python-bugs-list
mailing list