This is a question for typing-sig. Over on typing-sig we are looking at alternatives to Callable, so it's unlikely that any changes to Callable itself will be accepted.
Instead of `...`, we will probably use `*args`, similar to what is used in the `def` syntax. Feel free to peruse the typing-sig archives to learn more about the current status: https://mail.python.org/archives/list/[email protected]/ --Guido On Wed, Sep 22, 2021 at 1:04 AM Randolf Scholz <[email protected]> wrote: > @Valentin Berlier > > That would probably be possible, but the question here is, given that > `Callable` is a built-in, is it sensible to expect `Callable` to support > this behaviour. > > I would say yes, because it is extremely intuitive, especially with > regards to the fact that the widely used numpy library already uses > Ellipsis in a fashion semantically consistent with this proposal. > _______________________________________________ > 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/L6BTMIIMNSXX37YQA7J5VCOI7TOKOX5O/ > Code of Conduct: http://python.org/psf/codeofconduct/ > -- --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/WE6MSPQNAKZIBNBJ3IN5MIKO6E7NIIV5/ Code of Conduct: http://python.org/psf/codeofconduct/
