The problem comes solely from runtime introspection of type annotations. Static 
typing does not need this nor do any exceptional cases occur. From 
mypy/pyright/other type checker perspective there is not an issue to solve 
here. dataclasses, pydantic, cattrs, click, and other libraries that inspect 
type annotations at runtime is where cyclic or undefined nature of some 
annotations is causing edge cases. For most users of typing world they 
primarily think of former and not the latter.
_______________________________________________
Python-Dev mailing list -- python-dev@python.org
To unsubscribe send an email to python-dev-le...@python.org
https://mail.python.org/mailman3/lists/python-dev.python.org/
Message archived at 
https://mail.python.org/archives/list/python-dev@python.org/message/GCNP5YVHC4EY4XLXQ3F5MLMCGM5FPDAQ/
Code of Conduct: http://python.org/psf/codeofconduct/

Reply via email to