[Python-ideas] Standard way to get caller name and easy call stack access
Floris Bruynooghe
flub at devork.be
Thu Mar 22 11:00:15 CET 2012
On 22 March 2012 09:24, Mark Shannon <mark at hotpy.org> wrote:
> A simpler and more concrete suggestion might be to simply rename
> sys._getframe() as sys.getframe(), since all the main implementations
> support it anyway.
But at least now those of us using it know they're treading on thin
ice. E.g. for some reason sys._current_frames() is not available as
widely as sys._getframe().
Floris
--
Debian GNU/Linux -- The Power of Freedom
www.debian.org | www.gnu.org | www.kernel.org
More information about the Python-ideas
mailing list