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.

classification
Title: Add an "onerror" callback parameter to the tempfile.TemporaryDirectory member functions
Type: enhancement Stage: patch review
Components: Library (Lib) Versions: Python 3.9, Python 3.8, Python 3.7
process
Status: open Resolution:
Dependencies: Superseder:
Assigned To: Nosy List: Jeffrey.Kintscher, giampaolo.rodola, josh.r, max, paul.moore, riccardomurri, serhiy.storchaka, steve.dower, tarek, tim.golden, zach.ware
Priority: normal Keywords: patch

Created on 2019-06-16 04:46 by Jeffrey.Kintscher, last changed 2022-04-11 14:59 by admin.

Pull Requests
URL Status Linked Edit
PR 14292 open Jeffrey.Kintscher, 2019-06-21 18:28
Messages (2)
msg345726 - (view) Author: Jeffrey Kintscher (Jeffrey.Kintscher) * Date: 2019-06-16 04:46
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.
msg346243 - (view) Author: Jeffrey Kintscher (Jeffrey.Kintscher) * Date: 2019-06-21 19:01
The PR is ready for review.
History
Date User Action Args
2022-04-11 14:59:16adminsetgithub: 81483
2019-06-22 18:32:55Jeffrey.Kintschersetcomponents: + Library (Lib)
2019-06-21 19:42:14Jeffrey.Kintschersetversions: + Python 3.7, Python 3.8, Python 3.9
2019-06-21 19:03:24Jeffrey.Kintschersettype: enhancement
2019-06-21 19:01:10Jeffrey.Kintschersetmessages: + msg346243
2019-06-21 18:28:24Jeffrey.Kintschersetkeywords: + patch
stage: patch review
pull_requests: + pull_request14116
2019-06-16 05:04:24gvanrossumsetnosy: - gvanrossum
2019-06-16 04:46:07Jeffrey.Kintschercreate