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 <rep...@bugs.python.org>
<http://bugs.python.org/issue21709>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to