[issue6712] sys._getframe is not available on all Python implementations

Michael Foord report at bugs.python.org
Mon Aug 17 00:24:25 CEST 2009


Michael Foord <michael at voidspace.org.uk> added the comment:

It's actually quite annoying that inspect takes a private API (that has
warnings in the documentation about its use) and makes it public. It's
just a direct alias. That in itself is not a good reason to say the
_getframe should be public.

Python frames are not available by *default* in Python, because of the
performance cost of using them.

----------
nosy: +michael.foord

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue6712>
_______________________________________


More information about the Python-bugs-list mailing list