+1 I like it, anything to get rid of Optional[type] is good. If we can replace Callable[[type1], type2] with (type1) -> type2 and typing.Any with just soft keyword “All”, type annotations will be fun!
Sent from my iPhone > On 15 Aug 2021, at 8:41 PM, Joren Hammudoglu <jhammudo...@gmail.com> wrote: > > > See https://www.python.org/dev/peps/pep-0645/ > _______________________________________________ > Python-ideas mailing list -- python-ideas@python.org > To unsubscribe send an email to python-ideas-le...@python.org > https://mail.python.org/mailman3/lists/python-ideas.python.org/ > Message archived at > https://mail.python.org/archives/list/python-ideas@python.org/message/UYSUJOZOWOYQ26CI5EXLZNAXUU3AUYON/ > Code of Conduct: http://python.org/psf/codeofconduct/
_______________________________________________ Python-ideas mailing list -- python-ideas@python.org To unsubscribe send an email to python-ideas-le...@python.org https://mail.python.org/mailman3/lists/python-ideas.python.org/ Message archived at https://mail.python.org/archives/list/python-ideas@python.org/message/VGKRB4ACAT52B2CZWBHZ3HCXZH6ZQIPZ/ Code of Conduct: http://python.org/psf/codeofconduct/