Use inspect.currentframe() instead of sys._getframe()

Bug #1376294 reported by Barry Warsaw on 2014-10-01
This bug affects 1 person
Affects Status Importance Assigned to Milestone

Bug Description

The use of sys._getframe() predates the inspect module, but the latter should probably be used instead. That way, if alternate Python implementations ever grow compatibility, then it will probably be exposed through the inspect module rather than sys.

To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers