This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author JelleZijlstra
Recipients JelleZijlstra, 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:56JelleZijlstrasetrecipients: + JelleZijlstra, larry, eric.snow, yselivanov, levkivskyi, dmontague
2021-05-02 20:32:56JelleZijlstrasetmessageid: <1619987576.09.0.872463679312.issue37923@roundup.psfhosted.org>
2021-05-02 20:32:56JelleZijlstralinkissue37923 messages
2021-05-02 20:32:56JelleZijlstracreate