Message48840
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?
|
|
Date |
User |
Action |
Args |
2007-08-23 15:44:10 | admin | link | issue1314067 messages |
2007-08-23 15:44:10 | admin | create | |
|