PEP 649 doesn't prevent to use stringified annotations (Larry has previously mentioned it in its response to Paul Bryan), and they seem to be still required when `if TYPE_CHECKING:` is used, despite the PEP claim.
And my last message bring some use cases where strings are also required (notably, in recursive dataclasses). _______________________________________________ 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/7QA3Z4CNYHW3GOEDAST6WW37O5OUJRW6/ Code of Conduct: http://python.org/psf/codeofconduct/
