On Sat, Nov 28, 2020 at 9:32 AM Andrew Svetlov <[email protected]>
wrote:

> I would see support of all argument kinds support in any proposal for a
> new callable: positional only args, named args, keyword-only, *args and
> **kwargs.
> The exact notation in probably less important than missing functionality.
>

Hm, but using Protocol you can already express every callable type. We
could duplicate all of the complexity of 'def' parameter lists into the
type notation, but it would be very complex. So this requirement is at
least debatable (I'm not actually sure how I feel about it).

-- 
--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-change-the-world/>
_______________________________________________
Python-ideas mailing list -- [email protected]
To unsubscribe send an email to [email protected]
https://mail.python.org/mailman3/lists/python-ideas.python.org/
Message archived at 
https://mail.python.org/archives/list/[email protected]/message/RWBVGPODHP4JPRCA32ZXXAOXXPLKRSWV/
Code of Conduct: http://python.org/psf/codeofconduct/

Reply via email to