Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

bpo-40334: Spacialized error message for invalid args after bare '*' #19865

Merged
merged 2 commits into from
May 4, 2020

Conversation

lysnikolaou
Copy link
Member

@lysnikolaou lysnikolaou commented May 2, 2020

When parsing things like def f(*): pass or lambda *: pass the old parser used to
output SyntaxError: named arguments must follow bare *, which the
new parser wasn't able to do.

https://bugs.python.org/issue40334

When parsing things like `def f(*): pass` the old parser used to
output `SyntaxError: named arguments must follow bare *`, which the
new parser wasn't able to do.
@lysnikolaou lysnikolaou changed the title bpo-40334: Spacialized error message for invalid args after bare * bpo-40334: Spacialized error message for invalid args after bare '*' May 2, 2020
@gvanrossum
Copy link
Member

gvanrossum commented May 2, 2020 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants