[issue21709] logging.__init__ assumes that __file__ is always set
Vinay Sajip
report at bugs.python.org
Sun Jun 15 19:35:00 CEST 2014
Vinay Sajip added the comment:
> Isn't __code__ implementation-specific?
Further data point: the contents of __code__ might be implementation-specific (as there are no other Python 3 implementations), but the 2.x equivalent, func_code, is to be found in CPython, Jython, IronPython and PyPy, and in each case it has a co_filename attribute pointing to a source file. Other internal details no doubt differ.
----------
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue21709>
_______________________________________
More information about the Python-bugs-list
mailing list