On Sat, Apr 9, 2011 at 3:40 AM, Antoine Pitrou <solip...@pitrou.net> wrote:
>>  Isn’t there a possible raise condition here?  I think it’s recommended
>>  to follow EAFP for mkdir and makedirs.
>
> Since this is setup.py, I don't think we care.
> (I assume you meant "race condition", not "raise condition")

Indeed, the pre-check is OK here due to the fact that we control
"build_temp", so other processes shouldn't be creating a directory
with the same name.

Cheers,
Nick.

-- 
Nick Coghlan   |   ncogh...@gmail.com   |   Brisbane, Australia
_______________________________________________
Python-Dev mailing list
Python-Dev@python.org
http://mail.python.org/mailman/listinfo/python-dev
Unsubscribe: 
http://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com

Reply via email to