[pypy-issue] [issue1259] builtin module __file__ attribute shows wrong path

Philip Jenvey tracker at bugs.pypy.org
Tue Feb 12 00:04:35 CET 2013

Philip Jenvey <pjenvey at underboss.org> added the comment:

site.py goes through sys.modules at startup and abspath's all their __file__s, it 
seems to be the cause (try it w/ -S). I agree these builtin modules shouldn't have 
a __file__, it's bound to break something

PyPy bug tracker <tracker at bugs.pypy.org>

More information about the pypy-issue mailing list