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 cjw296
Recipients cjw296, gvanrossum, levkivskyi
Date 2020-09-27.21:23:14
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1601241794.88.0.820353328979.issue41872@roundup.psfhosted.org>
In-reply-to
Content
The tough one is that no-one wants an ugly sys._getframe() call, but by avoiding it in the standard library, we force each library that needs this to have the ugly sys._getframe() call rather than it being an unpleasant implementation detail of get_type_hints that users of the function don't have to know about.

That said, I've only hit this so far when writing a unit test, but will update this issue if I see real-world cases of this.
History
Date User Action Args
2020-09-27 21:23:14cjw296setrecipients: + cjw296, gvanrossum, levkivskyi
2020-09-27 21:23:14cjw296setmessageid: <1601241794.88.0.820353328979.issue41872@roundup.psfhosted.org>
2020-09-27 21:23:14cjw296linkissue41872 messages
2020-09-27 21:23:14cjw296create