Use inspect.currentframe() instead of sys._getframe()
Bug #1376294 reported by
Barry Warsaw
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
flufl.i18n |
Triaged
|
Low
|
Unassigned |
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.