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 -- [email protected] To unsubscribe send an email to [email protected] https://mail.python.org/mailman3/lists/python-dev.python.org/ Message archived at https://mail.python.org/archives/list/[email protected]/message/GCNP5YVHC4EY4XLXQ3F5MLMCGM5FPDAQ/ Code of Conduct: http://python.org/psf/codeofconduct/
- [Python-Dev] Re: Proto-PEP part 1: Forward decla... Chris Angelico
- [Python-Dev] Re: Proto-PEP part 1: Forward ... Larry Hastings
- [Python-Dev] Re: Proto-PEP part 1: Forw... Chris Angelico
- [Python-Dev] Re: Proto-PEP part 1: ... Larry Hastings
- [Python-Dev] Re: Proto-PEP part... Chris Angelico
- [Python-Dev] Re: Proto-PEP... Jim J. Jewett
- [Python-Dev] Re: Proto... Eric V. Smith
- [Python-Dev] Re: Proto-PEP... Greg Ewing
- [Python-Dev] Re: Proto... Chris Angelico
- [Python-Dev] Re: Proto... Rob Cliffe via Python-Dev
- [Python-Dev] Re: Proto... Mehdi2277
- [Python-Dev] Re: Proto... Greg Ewing
- [Python-Dev] Re: Proto... Joao S. O. Bueno
- [Python-Dev] Re: Proto... Greg Ewing
- [Python-Dev] Re: Proto... Chris Angelico
- [Python-Dev] Re: Proto... Greg Ewing
- [Python-Dev] Re: Proto... Chris Angelico
- [Python-Dev] Re: Proto... Greg Ewing
- [Python-Dev] Re: Proto... Chris Angelico
- [Python-Dev] Re: Proto... Greg Ewing
- [Python-Dev] Re: Proto... Chris Angelico
