Benjamin Peterson <[email protected]> added the comment: 2010/8/9 Terry J. Reedy <[email protected]>: > > Terry J. Reedy <[email protected]> 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)?
Yes, currentframe() doesn't take an argument. Whether it should or not is a feature request. ---------- _______________________________________ Python tracker <[email protected]> <http://bugs.python.org/issue6678> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
