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 jbowes
Recipients
Date 2006-12-04.16:52:43
SpamBayes Score
Marked as misclassified
Message-id
In-reply-to
Content
os.makedirs first checks if the non-leaf part of the path exists, and then calls makedirs on this part of the path to create it. If the path is created in between the call to path.exists, and the recursive call to os.makedirs, then  os.makedirs will raise an exception.

The attached patch catches this exception, and then tests if the exception is caused by a the file/directory's existence. If it is, the exception is ignored. If not, it is rasied.
History
Date User Action Args
2007-08-23 15:55:35adminlinkissue1608579 messages
2007-08-23 15:55:35admincreate