[pypy-issue] [issue1723] test runner filling temp directory with _testcapi modules

Armin Rigo tracker at bugs.pypy.org
Fri Mar 28 09:58:47 CET 2014

Armin Rigo <armin.rigo at gmail.com> added the comment:

Sorry, I'm fine with the hash idea.  Please do it.  I was already looking for a
general solution that would fix all the places that write stuff in /tmp, instead
of fixing "only" the most obvious place, but that may not be very useful after all.

PYPY_USESSION_DIR is not a configuration option (as pypy/doc/config/index.rst
documents), it is an environment variable.  (And this particular variable only
controls where /tmp/usession-NUM is created, which is only one directory among
the large number created in /tmp in a test run.)  I don't really think they are
essential either; they are just hacks to change various directories.  Again, if
someone like a Linux distribution wants to ensure that things stay in a
controlled environment, they would be better served by chroot for example.

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

More information about the pypy-issue mailing list