[issue1573] Improper use of the keyword-only syntax makes the parser crash

Alexandre Vassalotti report at bugs.python.org
Sat Dec 8 23:59:58 CET 2007


Alexandre Vassalotti added the comment:

Amaury is right. "def f(*, **kw): pass" should raise a SyntaxError. The
keyword-only delimiter is useless since the **kw parameter already only
accepts keywords.

__________________________________
Tracker <report at bugs.python.org>
<http://bugs.python.org/issue1573>
__________________________________


More information about the Python-bugs-list mailing list