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 ntkoopman
Recipients draghuram, ntkoopman
Date 2007-12-20.16:40:32
SpamBayes Score 0.25146663
Marked as misclassified No
Message-id <1198168832.88.0.947982542199.issue1669@psf.upfronthosting.co.za>
In-reply-to
Content
> While we are removing the contents of the target directory as expected,

This is not what I expected at all. I expected the function to fail,
because the target was not a directory, just a symlink to a directory.
That, or behavior similar to the command "rm -rf" which only removes the
symlink, but not the contents.

The current behavior is in my opinion inconsistent; if the symlink is
treated as a normal directory, it should also get deleted.

As I said, if the current behavior is apparently expected, it should be
documented, because I can think of no program that follow symlinks while
deleting unless specifically instructed to.
History
Date User Action Args
2007-12-20 16:40:33ntkoopmansetspambayes_score: 0.251467 -> 0.25146663
recipients: + ntkoopman, draghuram
2007-12-20 16:40:32ntkoopmansetspambayes_score: 0.251467 -> 0.251467
messageid: <1198168832.88.0.947982542199.issue1669@psf.upfronthosting.co.za>
2007-12-20 16:40:32ntkoopmanlinkissue1669 messages
2007-12-20 16:40:32ntkoopmancreate