On Thu, Aug 29, 2019 at 10:07 PM Philippe Prados <philippe.pra...@gmail.com> wrote:
> ... and, runtime type checking (like > https://github.com/agronholm/typeguard) must have a synthetised Union[] > in __annotations__. > > > Runtime type checking tools can parse "str | int" too. No need to implement runtime behavior for `str | int`. Regards, -- Inada Naoki <songofaca...@gmail.com>
_______________________________________________ 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/34MRSN7PIZXGBXRD6PVUUWI6AL6XVTXS/ Code of Conduct: http://python.org/psf/codeofconduct/