Guido van Rossum <[email protected]> added the comment:
It's fair that get_type_hints() does too much. But what does your proposed
function do besides this?
{k: eval(v) for k, b in x.__annotations__.items()}
?
----------
_______________________________________
Python tracker <[email protected]>
<https://bugs.python.org/issue43817>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe:
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com