Message26769
| Author |
d_kagedal |
| Recipients |
| Date |
2005年11月13日.21:11:26 |
| SpamBayes Score |
| Marked as misclassified |
| Message-id |
| In-reply-to |
| Content |
Logged In: YES
user_id=1260741
> Are you sure you understand how the function works?
No I'm not. But that's the whole point of this bug report.
Reading the documentation didn't help.
Saying "Removes directories recursively" means something
different to me than what you describe, so I think it's easy
to mislead already there.
When it sans that "rightmost path segments will be pruned
away", that doesn't tell me that anything will be removed
from the file system, does it?
My suggestion for new doc string wasn't meant to be
accepted, but more to describe what information the original
contained.
How about this then:
Removes the given directory, just like rmdir(). In
addition, if the removal was successful, the parent
directories mentioned in the 'path' argument are removed if
they are now empty. This is done by removing the last path
segment from the given path and trying to remove the
directory given by the remaining path, until there is
nothing left of the original path string. No exception will
be raised while trying to remove parent directories. |
|
History
|
|---|
| Date |
User |
Action |
Args |
| 2007年08月23日 14:35:53 | admin | link | issue1343671 messages |
| 2007年08月23日 14:35:53 | admin | create |
|