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 ysj.ray
Recipients Arfrever, draghuram, eric.araujo, ggenellina, giampaolo.rodola, gvanrossum, ijmorlan, terry.reedy, ysj.ray, zooko
Date 2010-07-27.03:36:44
SpamBayes Score 0.008874232
Marked as misclassified No
Message-id <1280201807.61.0.215862071041.issue9299@psf.upfronthosting.co.za>
In-reply-to
Content
I want to explain "mkdir -p" as this:

We want to create a specified directory, if such a directory doesn't exist, then create it. If such a directory already exists, then we have already reached our goal, do nothing.

While we port this function to os.makedir(), there is a more specified information of the target directory, the "mode". If the target directory already exists but with a different mode, we need not create it, but we haven't reach our goal, yet. So we can raise a exception.
History
Date User Action Args
2010-07-27 03:36:47ysj.raysetrecipients: + ysj.ray, gvanrossum, terry.reedy, zooko, ggenellina, draghuram, giampaolo.rodola, ijmorlan, eric.araujo, Arfrever
2010-07-27 03:36:47ysj.raysetmessageid: <1280201807.61.0.215862071041.issue9299@psf.upfronthosting.co.za>
2010-07-27 03:36:45ysj.raylinkissue9299 messages
2010-07-27 03:36:45ysj.raycreate