Author Arfrever
Recipients Arfrever, tarek
Date 2010-07-17.05:00:32
SpamBayes Score 0.0937036
Marked as misclassified No
Message-id <>
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:

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