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 Jeffrey.Kintscher
Recipients Jeffrey.Kintscher, giampaolo.rodola, gvanrossum, josh.r, max, paul.moore, riccardomurri, serhiy.storchaka, steve.dower, tarek, tim.golden, zach.ware
Date 2019-06-16.04:46:07
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1560660368.0.0.203020777798.issue37302@roundup.psfhosted.org>
In-reply-to
Content
Add an "onerror" callback parameter to the tempfile.TemporaryDirectory member functions so that the caller can perform special handling for directory items that it can't automatically delete. The caller created the undeletable directory entries, so it is reasonable to believe the caller may know how to unmake what they made.

This enhancement is needed to provide the desired behavior described in issue #29982 and issue #36422.
History
Date User Action Args
2019-06-16 04:46:08Jeffrey.Kintschersetrecipients: + Jeffrey.Kintscher, gvanrossum, paul.moore, giampaolo.rodola, tim.golden, tarek, max, zach.ware, serhiy.storchaka, riccardomurri, steve.dower, josh.r
2019-06-16 04:46:08Jeffrey.Kintschersetmessageid: <1560660368.0.0.203020777798.issue37302@roundup.psfhosted.org>
2019-06-16 04:46:07Jeffrey.Kintscherlinkissue37302 messages
2019-06-16 04:46:07Jeffrey.Kintschercreate