[docs] [issue6678] inspect.currentframe documentation omits optional depth parameter

Terry J. Reedy report at bugs.python.org
Mon Aug 9 18:19:45 CEST 2010


Terry J. Reedy <tjreedy at udel.edu> added the comment:

Benjamin: Previously, .currentframe() == sys._getframe() == sys._getframe(0) but you redefined it as sys._getframe(1), which is a change in semantics. Is this intentional (ie, was it buggy before)?

William: Benjamin's point was that the bug was not the doc but the implementation of .currentframe, so we were making the wrong fix relative to the intention of .currentframe.

----------

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


More information about the docs mailing list