
On Thu, Jun 24, 2021 at 1:49 PM Steven Troxler <steven.troxler@gmail.com> wrote:
Sorry, it's a little easy to get lost in all the details because there are so many variations listed, but we had indeed intended to support named args with default in the hybrid syntax, using the style you suggest.
But did you also intend hybrid syntax to allow (int, int, int=42) -> int? That would seems super-confusing.
I added a comment with @Guido to the section of the table where we specified named-argument-with-default syntax.
Got it.
I could add another syntax proposal that allows mixing stub and hybrid format as suggested if you'd like, or we can just keep in mind that this is also on the table.
I wouldn't characterize my proposal as such. It mixes stub and shorthand. -- --Guido van Rossum (python.org/~guido) *Pronouns: he/him **(why is my pronoun here?)* <http://feministing.com/2015/02/03/how-using-they-as-a-singular-pronoun-can-c...>