[issue5287] logging package on IronPython
Michael Foord
report at bugs.python.org
Tue Feb 17 11:17:03 CET 2009
Michael Foord <michael at 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 <report at bugs.python.org>
<http://bugs.python.org/issue5287>
_______________________________________
More information about the Python-bugs-list
mailing list