Message344851
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). |
|
Date |
User |
Action |
Args |
2019-06-06 18:37:02 | Jeffrey.Kintscher | set | recipients:
+ Jeffrey.Kintscher, riccardomurri, josh.r |
2019-06-06 18:37:02 | Jeffrey.Kintscher | set | messageid: <1559846222.66.0.968921283021.issue36422@roundup.psfhosted.org> |
2019-06-06 18:37:02 | Jeffrey.Kintscher | link | issue36422 messages |
2019-06-06 18:37:02 | Jeffrey.Kintscher | create | |
|