Karthikeyan Singaravelan added the comment:
Closing this as duplicate of issue29694. I hope this is backported to Ubuntu
repos and there is not much pending work to this issue. Thanks.
--
resolution: -> duplicate
stage: -> resolved
status: open -> closed
superseder: -> race
Karthikeyan Singaravelan added the comment:
> Thank your for your response. I'm running python 3.5.2. The linked issue is
> indeed a duplicate of this one.
Thanks for the confirmation and script.
> I'm running Ubuntu 16.04.5 LTS. I don't know if you know anything about
> Ubuntu's release
Adam Dunlap added the comment:
Thank your for your response. I'm running python 3.5.2. The linked issue is
indeed a duplicate of this one.
To reproduce, you can run two instances of the attached script at the same
time, i.e. python3 pymkdir.py & python3 pymkdir.py. It is a race condition so
Karthikeyan Singaravelan added the comment:
Thanks for the report. There was a related issue : issue29694 . This was fixed
in 3.7 and was backported with
https://github.com/python/cpython/commit/d7abeb7024b9755c291c29bdc8c4494246e975ad
(3.5.4 and above) . Can you please specify the full
New submission from Adam Dunlap :
I have 2 processes (one C, one python) that are started at the same time and
both need a certain directory tree to exist to continue, so both processes
create the directory tree while ignoring errors about it already existing.
In the python process, I'm