Michael Foord <mich...@voidspace.org.uk> added the comment: It's actually quite annoying that inspect takes a private API (that has warnings in the documentation about its use) and makes it public. It's just a direct alias. That in itself is not a good reason to say the _getframe should be public.
Python frames are not available by *default* in Python, because of the performance cost of using them. ---------- nosy: +michael.foord _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue6712> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com