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
Date 2019-06-21.19:25:52
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1561145152.44.0.980248626511.issue37366@roundup.psfhosted.org>
In-reply-to
Content
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.
History
Date User Action Args
2019-06-21 19:25:52Jeffrey.Kintschersetrecipients: + Jeffrey.Kintscher
2019-06-21 19:25:52Jeffrey.Kintschersetmessageid: <1561145152.44.0.980248626511.issue37366@roundup.psfhosted.org>
2019-06-21 19:25:52Jeffrey.Kintscherlinkissue37366 messages
2019-06-21 19:25:52Jeffrey.Kintschercreate