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 Arfrever
Recipients Arfrever, tarek
Date 2010-07-17.05:00:32
SpamBayes Score 0.09370364
Marked as misclassified No
Message-id <1279342839.57.0.133468665449.issue9281@psf.upfronthosting.co.za>
In-reply-to
Content
distutils.dir_util.mkpath() is used to create a directory and is supposed to not fail when this directory already exists.
There's a chance that another process will create this directory between os.path.isdir() check and call to os.mkdir().
This was reproduced by a Gentoo user during parallel installation of Python:
https://bugs.gentoo.org/show_bug.cgi?id=311437

I'm attaching the patch.
History
Date User Action Args
2010-07-17 05:00:40Arfreversetrecipients: + Arfrever, tarek
2010-07-17 05:00:39Arfreversetmessageid: <1279342839.57.0.133468665449.issue9281@psf.upfronthosting.co.za>
2010-07-17 05:00:36Arfreverlinkissue9281 messages
2010-07-17 05:00:35Arfrevercreate