[Python-Dev] [Python-checkins] cpython (3.1): Issue 11715: Build extension modules on multiarch Debian and Ubuntu by (original) (raw)
Antoine Pitrou solipsis at pitrou.net
Fri Apr 8 19:40:06 CEST 2011
- Previous message: [Python-Dev] [Python-checkins] cpython (3.1): Issue 11715: Build extension modules on multiarch Debian and Ubuntu by
- Next message: [Python-Dev] [Python-checkins] cpython (3.1): Issue 11715: Build extension modules on multiarch Debian and Ubuntu by
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
On Fri, 08 Apr 2011 18:10:35 +0200 Éric Araujo <merwok at netwok.org> wrote:
Hi,
> http://hg.python.org/cpython/rev/7582a78f573b > branch: 3.1 > user: Barry Warsaw <barry at python.org> > summary: > Issue 11715: Build extension modules on multiarch Debian and Ubuntu > by > extending search paths to include multiarch directories. > > diff --git a/setup.py b/setup.py > + if not os.path.exists(self.buildtemp): > + os.makedirs(self.buildtemp) 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")
Regards
Antoine.
- Previous message: [Python-Dev] [Python-checkins] cpython (3.1): Issue 11715: Build extension modules on multiarch Debian and Ubuntu by
- Next message: [Python-Dev] [Python-checkins] cpython (3.1): Issue 11715: Build extension modules on multiarch Debian and Ubuntu by
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]