Antoine Pitrou <pit...@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 <rep...@bugs.python.org>
<http://bugs.python.org/issue11677>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to