Michael Foord <mich...@voidspace.org.uk> added the comment: @Victor IronPython doesn't use Python stack frames, so tracking them and then constructing the objects on demand would add about a ~10% performance hit to IronPython. Even when it is done it is likely to be an option rather than on by default - using _getframe is usually a hack anyway. :-)
@Antoine Could do that - it would have to trap ValueError. I'd be slightly worried about it masking other bugs. In previous versions of logging setting _srcfile to None was *the* mechanism for stopping the use of _getframe. _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue5287> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com