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 conditio
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