[New-bugs-announce] [issue46543] Add sys._getfunc

Jelle Zijlstra report at bugs.python.org
Wed Jan 26 22:46:31 EST 2022


New submission from Jelle Zijlstra <jelle.zijlstra at gmail.com>:

sys._getframe() has to create frame objects, which is relatively expensive. Usually the calling function object should be enough.

See https://github.com/faster-cpython/ideas/discussions/238

----------
assignee: Jelle Zijlstra
components: Interpreter Core
messages: 411833
nosy: Jelle Zijlstra, Mark.Shannon
priority: normal
severity: normal
status: open
title: Add sys._getfunc
type: enhancement
versions: Python 3.11

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue46543>
_______________________________________


More information about the New-bugs-announce mailing list