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

Amaury Forgeot d Arc tracker at bugs.pypy.org
Mon Feb 11 11:27:25 CET 2013


Amaury Forgeot d Arc <amauryfa at gmail.com> added the comment:

Ah, right. It seems that sys.__file__ uses abspath() somewhere. '/home/pypy/module/sys' is '../../pypy/module/sys', relative to the *current* pwd.

Bad bad...

________________________________________
PyPy bug tracker <tracker at bugs.pypy.org>
<https://bugs.pypy.org/issue1259>
________________________________________


More information about the pypy-issue mailing list