[issue46195] Annotated and Optional get_type_hints buggy interaction

Jelle Zijlstra report at bugs.python.org
Wed Mar 2 00:30:27 EST 2022


Jelle Zijlstra <jelle.zijlstra at gmail.com> added the comment:


New changeset 20a1c8ee4bcb1c421b7cca1f3f5d6ad7ce30a9c9 by Nikita Sobolev in branch 'main':
bpo-46195: Do not add `Optional` in `get_type_hints` (GH-30304)
https://github.com/python/cpython/commit/20a1c8ee4bcb1c421b7cca1f3f5d6ad7ce30a9c9


----------
nosy: +Jelle Zijlstra

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


More information about the Python-bugs-list mailing list