Brett Cannon <br...@python.org> added the comment: It sounds like inspect needs to have its docs updated such that it makes it explicit inspect.currentframe() requires sys._getframe() to exist to return anything of use (the code returns None in other cases). So the public API can exist, but it needs to say what it depends on is optional.
---------- _______________________________________ 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