You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
bpo-9232: Allow trailing comma in any function argument list.
Note: these values reflect the state of the issue at the time it was migrated and might not reflect the current state.
Show more details
GitHub fields:
assignee=Noneclosed_at=<Date2015-07-21.12:53:37.695>created_at=<Date2015-07-21.10:43:42.612>labels= []
title='"def f(*args, ): pass" does not compile'updated_at=<Date2015-07-21.12:53:37.693>user='https://bugs.python.org/Drekin'
See existing bpo-9232. I agree with your use case, but apparently this is controversial.
Playing the devil’s advocate here, the function calls involving *unpacking and a trailing comma only became valid in 3.5. I think this was a side effect of the new f(*args, *more) syntax, though I don’t know if it was intentional. It was not mentioned in PEP-448 that I can see.
Note: these values reflect the state of the issue at the time it was migrated and might not reflect the current state.
Show more details
GitHub fields:
bugs.python.org fields:
The text was updated successfully, but these errors were encountered: