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 Antony.Lee
Recipients Antony.Lee, georg.brandl, ncoghlan, pitrou, serhiy.storchaka, yselivanov
Date 2014-10-05.00:20:00
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1412468400.79.0.587272605017.issue20267@psf.upfronthosting.co.za>
In-reply-to
Content
The change would be backwards-incompatible but also mimics the behavior of NamedTemporaryFile (which also fails to delete the file if the containing folder has been renamed -- this is easy to verify manually).
I guess the other option would be to use fd-based semantics?  (but it'd be preferable if the behavior was kept the same between TemporaryDirectory and NamedTemporaryFile).
History
Date User Action Args
2014-10-05 00:20:01Antony.Leesetrecipients: + Antony.Lee, georg.brandl, ncoghlan, pitrou, serhiy.storchaka, yselivanov
2014-10-05 00:20:00Antony.Leesetmessageid: <1412468400.79.0.587272605017.issue20267@psf.upfronthosting.co.za>
2014-10-05 00:20:00Antony.Leelinkissue20267 messages
2014-10-05 00:20:00Antony.Leecreate