Author Arfrever
Recipients Arfrever, tarek
Date 2010-07-17.05:00:32
SpamBayes Score 0.0937036
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