]> granicus.if.org Git - python/commit
Fixed #1573: Improper use of the keyword-only syntax makes the parser crash
authorChristian Heimes <christian@cheimes.de>
Sat, 8 Dec 2007 22:11:32 +0000 (22:11 +0000)
committerChristian Heimes <christian@cheimes.de>
Sat, 8 Dec 2007 22:11:32 +0000 (22:11 +0000)
commitbc8734174a0cd6513e55627464038aed22b3c32c
tree3d872c8ec94e9a6510ccebbf9381f7c0968debc6
parentda65f6078359a3906366300544eb3692e3c2a0f8
Fixed #1573: Improper use of the keyword-only syntax makes the parser crash
>>> def f(*, **kw):
...   pass
...
python: Python/ast.c:652: handle_keywordonly_args: Assertion 'kwonlyargs
!= ((void *)0)' failed.
Misc/NEWS
Python/ast.c