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 draghuram
Recipients draghuram, gvanrossum, ntkoopman
Date 2007-12-20.17:25:50
SpamBayes Score 0.35589996
Marked as misclassified No
Message-id <1198171550.37.0.14609351653.issue1669@psf.upfronthosting.co.za>
In-reply-to
Content
I am ok with disallowing symlinks in rmtree() because if it were to be
allowed, the semantics are not clear. In addition, neither 'rmdir' nor
'rm -rf' delete the target directory. 

The attached patch would raise error if symbolic link is passed to
rmtree. Even though there is a parameter 'ignore_errors", I don't think
it should be used in suppressing symbolic link error. Comments?
Files
File name Uploaded
rmtree.diff draghuram, 2007-12-20.17:25:50
History
Date User Action Args
2007-12-20 17:25:50draghuramsetspambayes_score: 0.3559 -> 0.35589996
recipients: + draghuram, gvanrossum, ntkoopman
2007-12-20 17:25:50draghuramsetspambayes_score: 0.3559 -> 0.3559
messageid: <1198171550.37.0.14609351653.issue1669@psf.upfronthosting.co.za>
2007-12-20 17:25:50draghuramlinkissue1669 messages
2007-12-20 17:25:50draghuramcreate