This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author nascheme
Recipients nascheme, ncoghlan
Date 2009-02-07.17:54:14
SpamBayes Score 2.9394305e-06
Marked as misclassified No
Message-id <1234029261.42.0.975383428204.issue5178@psf.upfronthosting.co.za>
In-reply-to
Content
I noticed that it would be nice to have a temporary directory context
manager while trying to fix a broken unittest.  The attached patch
provides a pretty minimal implementation.  There appears to be lots of
unit tests that could use such a thing (just search for "rmtree").

I'm not sure if TemporaryDirectory is the best name.  Also, perhaps it
should have a __del__ method although that's tricky business.
History
Date User Action Args
2009-02-07 17:54:21naschemesetrecipients: + nascheme, ncoghlan
2009-02-07 17:54:21naschemesetmessageid: <1234029261.42.0.975383428204.issue5178@psf.upfronthosting.co.za>
2009-02-07 17:54:19naschemelinkissue5178 messages
2009-02-07 17:54:18naschemecreate