Gregory P. Smith added the comment:

I applied the same _srcfile setting cleanup to 2.7 as we ran into this at work 
with an embedded python stdlib.  __file__ was set to something by the embedded 
importer, but to something different than the path seen on the actual code 
objects which appear to be based on the path seen during pyc compilation done 
at build time.

----------
nosy: +gregory.p.smith

_______________________________________
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