Skip to content

bpo-40334: Error message for invalid default args in function call#19973

Merged
pablogsal merged 1 commit intopython:masterfrom
lysnikolaou:invalid-kwarg
May 7, 2020
Merged

bpo-40334: Error message for invalid default args in function call#19973
pablogsal merged 1 commit intopython:masterfrom
lysnikolaou:invalid-kwarg

Conversation

@lysnikolaou
Copy link
Member

@lysnikolaou lysnikolaou commented May 7, 2020

When parsing something like f(g()=2), where the name of a default arg
is not a NAME, but an arbitrary expression, a spacialised error message
is output.

https://bugs.python.org/issue40334

Loading
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