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 brandtbucher
Recipients brandtbucher, josh.r
Date 2019-10-23.21:20:14
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1571865614.87.0.386950277379.issue38560@roundup.psfhosted.org>
In-reply-to
Content
I've found one occurrence of this in the CPython codebase, in test_ast.py. Basically it makes sure that the following expression parses and compiles correctly:

f(1,2,c=3,*d,**e)

I doubt that this is to protect against regressions in this specific syntax. More likely it's just trying to create as many of the different argument passing AST nodes as possible in one call (it's the only test for function calls with arguments). It can probably be slightly refactored:

f(1,2,*c,d=3,**e)
History
Date User Action Args
2019-10-23 21:20:14brandtbuchersetrecipients: + brandtbucher, josh.r
2019-10-23 21:20:14brandtbuchersetmessageid: <1571865614.87.0.386950277379.issue38560@roundup.psfhosted.org>
2019-10-23 21:20:14brandtbucherlinkissue38560 messages
2019-10-23 21:20:14brandtbuchercreate