Pablo Galindo Salgado <pablog...@gmail.com> added the comment:
Yo be honest, this would add a lot of complexity as "from __future__ import annotations" is a compiler directive (CO_FUTURE_ANNOTATIONS) and bringing this to the AST level would be somehow disrupting. I would be -1 to disable AST optimizations in annotations. ---------- _______________________________________ Python tracker <rep...@bugs.python.org> <https://bugs.python.org/issue39220> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com