This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author alexandre.vassalotti
Recipients alexandre.vassalotti
Date 2007-12-08.18:13:56
SpamBayes Score 0.13332085
Marked as misclassified No
Message-id <1197137637.06.0.398466003336.issue1573@psf.upfronthosting.co.za>
In-reply-to
Content
I found that the parser fails to handle correctly the (incorrect) case
where the single-star (*), used for delimiting keyword-only arguments,
is immediately followed by a **keywords parameter:

>>> def f(*, **kw):
...   pass
... 
python: Python/ast.c:652: handle_keywordonly_args: Assertion `kwonlyargs
!= ((void *)0)' failed.
[1]    7872 abort (core dumped)  ./python
History
Date User Action Args
2007-12-08 18:13:57alexandre.vassalottisetspambayes_score: 0.133321 -> 0.13332085
recipients: + alexandre.vassalotti
2007-12-08 18:13:57alexandre.vassalottisetspambayes_score: 0.133321 -> 0.133321
messageid: <1197137637.06.0.398466003336.issue1573@psf.upfronthosting.co.za>
2007-12-08 18:13:56alexandre.vassalottilinkissue1573 messages
2007-12-08 18:13:56alexandre.vassalotticreate