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

Amaury Forgeot d Arc tracker at bugs.pypy.org
Mon Feb 11 10:22:30 CET 2013


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

sys is a builtin-module, so the path is computed at translation time.
In my case I see some buildbot working directory.
Maybe we should try to not leak this information and hack something like
sys.__file__ = "pypy/module/sys"

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


More information about the pypy-issue mailing list