Even without this PEP, specializing functions makes sense. It’s a straightforward extension of PEP 585, which added list[int] etc. (But type checkers would have to be modified to support it too, so it needs a — simple — PEP.)

—Guido

On Thu, Jul 14, 2022 at 09:16 James H-B <gobot1234yt@gmail.com> wrote:
Right, that makes sense, I might give specialisation a go then if this gets accepted. Thanks for your continued work on this.
_______________________________________________
Typing-sig mailing list -- typing-sig@python.org
To unsubscribe send an email to typing-sig-leave@python.org
https://mail.python.org/mailman3/lists/typing-sig.python.org/
Member address: guido@python.org
--
--Guido (mobile)