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 rbarran
Recipients
Date 2005-12-05.12:39:18
SpamBayes Score
Marked as misclassified
Message-id
In-reply-to
Content
Logged In: YES 
user_id=1207189

I think that the current behavior of the function is correct.
It tries to mimic os.mkdir - if the dir to create ("c" in
your example) already exists, it will raise an error.
However, errors on intermediate dirs are ignored.
This makes sense, but I think the documentation is not clear
on this (or maybe I'm just slow :-)
BTW - there's another patch ([ 1239890 ] Prevent race
condition in os.makedirs) to rewrite the whole function and
it might make your patch in its current form obsolete.
Maybe your work can be merged into this other patch?
History
Date User Action Args
2007-08-23 15:44:10adminlinkissue1314067 messages
2007-08-23 15:44:10admincreate