Message346245
Add an "onitem" callback paramter to shutil.rmtree() that, if provided, gets called for each directory entry as it is encountered. This allows the caller to perform any required special handling of individual directory entries (e.g. unmounting a mount point, closing a file, shutting down a named pipe, etc.) before rmtree() attempts to remove them.
This enhancement is related to issue #36422. |
|
Date |
User |
Action |
Args |
2019-06-21 19:25:52 | Jeffrey.Kintscher | set | recipients:
+ Jeffrey.Kintscher |
2019-06-21 19:25:52 | Jeffrey.Kintscher | set | messageid: <1561145152.44.0.980248626511.issue37366@roundup.psfhosted.org> |
2019-06-21 19:25:52 | Jeffrey.Kintscher | link | issue37366 messages |
2019-06-21 19:25:52 | Jeffrey.Kintscher | create | |
|