[issue46195] Annotated and Optional get_type_hints buggy interaction

Guido van Rossum report at bugs.python.org
Thu Dec 30 12:21:30 EST 2021


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

Yes, we changed PEP 484 in https://github.com/python/peps/pull/689.

So get_type_hints() should follow suit.

----------

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


More information about the Python-bugs-list mailing list