New submission from Jeffrey Kintscher <websur...@surf2c.net>:
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. ---------- messages: 345726 nosy: Jeffrey.Kintscher, giampaolo.rodola, gvanrossum, josh.r, max, paul.moore, riccardomurri, serhiy.storchaka, steve.dower, tarek, tim.golden, zach.ware priority: normal severity: normal status: open title: Add an "onerror" callback parameter to the tempfile.TemporaryDirectory member functions _______________________________________ Python tracker <rep...@bugs.python.org> <https://bugs.python.org/issue37302> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com