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 ntkoopman
Date 2007-12-20.08:53:20
SpamBayes Score 0.12079202
Marked as misclassified No
Message-id <1198140802.03.0.559721880432.issue1669@psf.upfronthosting.co.za>
In-reply-to
Content
When using rmtree with a symlink to a directory as path, it will first
follow the symlink, (try to) remove all the contents of the source
directory and then raise the exception "OSError: [Errno 20] Not a
directory".

Expected behaviour: The function should only raise an exception.

If the current behaviour is indeed wanted, it should a least be documented.
History
Date User Action Args
2007-12-20 08:53:22ntkoopmansetspambayes_score: 0.120792 -> 0.12079202
recipients: + ntkoopman
2007-12-20 08:53:22ntkoopmansetspambayes_score: 0.120792 -> 0.120792
messageid: <1198140802.03.0.559721880432.issue1669@psf.upfronthosting.co.za>
2007-12-20 08:53:21ntkoopmanlinkissue1669 messages
2007-12-20 08:53:21ntkoopmancreate