> Any other runtime annotation tool has to support strings, otherwise the > "from __future__ import annotations" directive will have already broken > it.
Exactly- isn’t that it was deferred in 3.10, and may never be implemented? I’ll leave it to the Pydantic developers to discuss that, but they were pretty clear that PEP 563 would break things. If the tool does type-checking, then it should support stringified > annotations. I guess I wasn’t clear — my point was there are uses for annotations that are NOT type checking. And my understanding of what the SC said was that they want those uses to continue to be supported. -CHB -- Christopher Barker, PhD (Chris) Python Language Consulting - Teaching - Scientific Software Development - Desktop GUI and Web Development - wxPython, numpy, scipy, Cython
_______________________________________________ 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/J2UWKGIGKA7IKYBSKL3DNDWPO3AXH7SF/ Code of Conduct: http://python.org/psf/codeofconduct/