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
silently overriding the B='+tbar' "repeated" argument. I feel like we should raise a SyntaxError in this case, like what Python does for repeated kwargs. I think this would involve modifying the use_alias() decorator, but I'm not totally sure. This addresses the discussion in #359 (comment). If #262 were implemented, this could be a non-issue.
(I'm not sure if this is a bug or a feature request; I chose bug.)
The text was updated successfully, but these errors were encountered:
Description of the problem
Python doesn't allow keyword arguments to be repeated. Our current setup does allow for e.g. the following, however:
This example produces
silently overriding the
B='+tbar'
"repeated" argument. I feel like we should raise aSyntaxError
in this case, like what Python does for repeated kwargs. I think this would involve modifying theuse_alias()
decorator, but I'm not totally sure. This addresses the discussion in #359 (comment). If #262 were implemented, this could be a non-issue.(I'm not sure if this is a bug or a feature request; I chose bug.)
The text was updated successfully, but these errors were encountered: