[Python-Dev] [Python-checkins] cpython (3.1): Issue 11715: Build extension modules on multiarch Debian and Ubuntu by

Nick Coghlan ncoghlan at gmail.com
Sat Apr 9 02:22:35 CEST 2011


On Sat, Apr 9, 2011 at 3:40 AM, Antoine Pitrou <solipsis at 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   |   ncoghlan at gmail.com   |   Brisbane, Australia


More information about the Python-Dev mailing list