New submission from Yurii Karabas <1998uri...@gmail.com>:
While I was working with `typing` I have notice that there are duplication of `_getframe` usage. While In scope of issue 44353 I introduced `typing._callee` function which allow to return module name of a caller function. In scope of this issue we will reduce the usage of `_getframe` usage. It will be used only in one place, at `_callee` function. ---------- components: Library (Lib) messages: 398286 nosy: uriyyo priority: normal severity: normal status: open title: Reduce usage of sys._getframe at typing module type: enhancement versions: Python 3.11 _______________________________________ Python tracker <rep...@bugs.python.org> <https://bugs.python.org/issue44747> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com