shutil.rmtree bug ?

Andrew Dalke dalke at dalkescientific.com
Thu Nov 15 07:45:52 EST 2001


copter24:
>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?

                    Andrew
                    dalke at dalkescientific.com







More information about the Python-list mailing list