shutil.rmtree bug ?

Andrew Dalke dalke at
Thu Nov 15 13:45:52 CET 2001

>With win nt4 and Python 2.1, why shutil.rmtree(path, 0) does not raise
>an exception when there is effectivly one ?
>Any idea ?

I just looked at the implementation.  It should raise an error
for your case.  There's no way I see that it could do otherwise.

Can you give an example of something you expect to fail but
doesn't?  Why do you think it isn't doing the right thing?

                    dalke at

More information about the Python-list mailing list