Message78443
A blunt, ineffective solution would be to walk the tree before removing
it and recording path : inode pairs in a dict on first pass and then
checking that the inodes have not changed during removal on second pass.
If no clever bulletproof fix emerges, perhaps this should be added as
shutil.rmtree_safe (duh, API bloat...)? |
|
Date |
User |
Action |
Args |
2008-12-29 08:46:06 | mrts | set | recipients:
+ mrts, pitrou |
2008-12-29 08:46:05 | mrts | set | messageid: <1230540365.94.0.963262339481.issue4489@psf.upfronthosting.co.za> |
2008-12-29 08:46:05 | mrts | link | issue4489 messages |
2008-12-29 08:46:04 | mrts | create | |
|