◐ Shell
clean mode source ↗

Message 390876 - Python tracker

Message390876

Author gvanrossum
Recipients eric.smith, gvanrossum, larry
Date 2021-04-12.17:50:17
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1618249817.85.0.805337676856.issue43817@roundup.psfhosted.org>
In-reply-to
Content
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()}

?
History
Date User Action Args
2021-04-12 17:50:17gvanrossumsetrecipients: + gvanrossum, larry, eric.smith
2021-04-12 17:50:17gvanrossumsetmessageid: <1618249817.85.0.805337676856.issue43817@roundup.psfhosted.org>
2021-04-12 17:50:17gvanrossumlinkissue43817 messages
2021-04-12 17:50:17gvanrossumcreate