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, josh.r, riccardomurri
Date 2019-06-06.18:37:02
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1559846222.66.0.968921283021.issue36422@roundup.psfhosted.org>
In-reply-to
Content
Since having tempfile.TemporaryDirectory() automatically unmount mount points is difficult to implement in a portable way (Windows, BSD/macOS, and Linux are all different), a shorter-term solution could be to add an 'onerror' callback function as a class initialization parameter. This would allow the caller to inspect and try to handle any directory entries that the cleanup() function can't handle (like unmounting a mount point).
History
Date User Action Args
2019-06-06 18:37:02Jeffrey.Kintschersetrecipients: + Jeffrey.Kintscher, riccardomurri, josh.r
2019-06-06 18:37:02Jeffrey.Kintschersetmessageid: <1559846222.66.0.968921283021.issue36422@roundup.psfhosted.org>
2019-06-06 18:37:02Jeffrey.Kintscherlinkissue36422 messages
2019-06-06 18:37:02Jeffrey.Kintschercreate