[issue44747] Reduce usage of sys._getframe at typing module

2021-07-27 Thread Yurii Karabas
Change by Yurii Karabas <1998uri...@gmail.com>: -- keywords: +patch pull_requests: +25920 stage: -> patch review pull_request: https://github.com/python/cpython/pull/27387 ___ Python tracker

[issue44747] Reduce usage of sys._getframe at typing module

2021-07-27 Thread Yurii Karabas
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 t