RE: [Python-Dev] os.removedirs() vs. shutil.rmtree()

2005-01-10 Thread Batista, Facundo
Title: RE: [Python-Dev] os.removedirs() vs. shutil.rmtree() [Johannes Gijsbers] #- So they're not identical, but I do agree they should be consolidated #- and moved into one module. I'd say shutil, both because the os #- module is already awfully crowded, and because these fun

Re: [Python-Dev] os.removedirs() vs. shutil.rmtree()

2005-01-08 Thread Johannes Gijsbers
On Sat, Jan 08, 2005 at 02:45:25PM -0600, Skip Montanaro wrote: > Is there a reason the standard library needs both os.removedirs and > shutil.rmtree? They seem awful similar to me (I can see they aren't really > identical). Ditto for os.renames and shutil.move. Presuming they are all > really n

[Python-Dev] os.removedirs() vs. shutil.rmtree()

2005-01-08 Thread Skip Montanaro
Is there a reason the standard library needs both os.removedirs and shutil.rmtree? They seem awful similar to me (I can see they aren't really identical). Ditto for os.renames and shutil.move. Presuming they are all really needed, is there some reason they don't all belong in the same module? S