Author Jelle Zijlstra
Recipients Jelle Zijlstra, dmontague, eric.snow, larry, levkivskyi, yselivanov
Date 2021-05-02.20:32:56
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1619987576.09.0.872463679312.issue37923@roundup.psfhosted.org>
In-reply-to
Content
As of Python 3.10, thanks to Larry Hastings inspect.signature will have a new eval_str= parameter that lets you evaluate string annotations. This isn't quite what you're asking for, though, because typing.get_type_hints does more work than eval_str does. Still, it's similar enough that I'm inclined to close this issue.
History
Date User Action Args
2021-05-02 20:32:56Jelle Zijlstrasetrecipients: + Jelle Zijlstra, larry, eric.snow, yselivanov, levkivskyi, dmontague
2021-05-02 20:32:56Jelle Zijlstrasetmessageid: <1619987576.09.0.872463679312.issue37923@roundup.psfhosted.org>
2021-05-02 20:32:56Jelle Zijlstralinkissue37923 messages
2021-05-02 20:32:56Jelle Zijlstracreate