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
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4