Message254365
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” :) |
|
Date |
User |
Action |
Args |
2015-11-09 04:05:49 | martin.panter | set | recipients:
+ martin.panter, paul.moore, tim.golden, r.david.murray, zach.ware, steve.dower, plakhotich |
2015-11-09 04:05:48 | martin.panter | set | messageid: <1447041948.95.0.16566901989.issue25583@psf.upfronthosting.co.za> |
2015-11-09 04:05:48 | martin.panter | link | issue25583 messages |
2015-11-09 04:05:48 | martin.panter | create | |
|