[issue38605] [typing] PEP 563: Postponed evaluation of annotations: enable it by default in Python 3.10

Guido van Rossum report at bugs.python.org
Thu May 28 10:02:42 EDT 2020


Guido van Rossum <guido at python.org> added the comment:

I think in general it is more insightful to discuss the behavior of get_type_hints() given specific things in annotations.

We generally don't write forward refs inside forward refs, like "SomeClass['int']". So maybe that code was wrong? Where did you find it?

----------

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue38605>
_______________________________________


More information about the Python-bugs-list mailing list