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 martin.panter
Recipients martin.panter, paul.moore, plakhotich, r.david.murray, steve.dower, tim.golden, zach.ware
Date 2015-11-09.04:05:48
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1447041948.95.0.16566901989.issue25583@psf.upfronthosting.co.za>
In-reply-to
Content
Daniel: your latest suggestions look like they introduce a race condition. What happens if another thread or process, perhaps also calling makedirs(), creates the directory just after isdir() says it doesn’t exist? Similar to Issue 1608579.

Perhaps the existing code comment needs to clarify that the exception handling is for a real race condition, not just an excuse to “be happy” :)
History
Date User Action Args
2015-11-09 04:05:49martin.pantersetrecipients: + martin.panter, paul.moore, tim.golden, r.david.murray, zach.ware, steve.dower, plakhotich
2015-11-09 04:05:48martin.pantersetmessageid: <1447041948.95.0.16566901989.issue25583@psf.upfronthosting.co.za>
2015-11-09 04:05:48martin.panterlinkissue25583 messages
2015-11-09 04:05:48martin.pantercreate