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

Brett Cannon report at bugs.python.org
Mon Aug 17 01:16:49 CEST 2009


Brett Cannon <brett at python.org> added the comment:

It sounds like inspect needs to have its docs updated such that it makes 
it explicit inspect.currentframe() requires sys._getframe() to exist to 
return anything of use (the code returns None in other cases). So the 
public API can exist, but it needs to say what it depends on is optional.

----------

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


More information about the Python-bugs-list mailing list