[issue11677] make test has horrendous performance on an ecryptfs

Antoine Pitrou report at bugs.python.org
Sun Mar 27 17:39:35 CEST 2011


Antoine Pitrou <pitrou at free.fr> added the comment:

> Makes sense.  So, what do you think about adding a --usetmp/-p flag to
> regrtest to honor mkdtemp's defaults even in a build dir?  I'd add an
> atexit handler to clean it up but of course if it crashes and you've
> used the flag, you should know enough to be able to manually clean
> things up.

Sounds good. It will also help performance on my Windows VM :)

Bikeshedding: since it won't be a widely-used option, perhaps "-P" is
better than "-p"?

Not-so-much-bikeshedding: mkdtemp() could be used inside a (e.g.)
"/tmp/test_python" top dir, to make manual cleanup extra easy.

----------

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue11677>
_______________________________________


More information about the Python-bugs-list mailing list