[Numpy-svn] r6311 - trunk/numpy/distutils

numpy-svn@scip... numpy-svn@scip...
Fri Jan 9 03:57:16 CST 2009


Author: jarrod.millman
Date: 2009-01-09 03:57:15 -0600 (Fri, 09 Jan 2009)
New Revision: 6311

Modified:
   trunk/numpy/distutils/system_info.py
Log:
simplification suggested by stefan


Modified: trunk/numpy/distutils/system_info.py
===================================================================
--- trunk/numpy/distutils/system_info.py	2009-01-09 09:14:17 UTC (rev 6310)
+++ trunk/numpy/distutils/system_info.py	2009-01-09 09:57:15 UTC (rev 6311)
@@ -167,9 +167,10 @@
         return paths
 
     # Handle 64bit case
-    out = [None]*(2*len(paths))
-    out[::2] = paths
-    out[1::2] = (p+'64' for p in paths)
+    out = []
+    for p in paths:
+        out.extend([p, p+bits])
+
     return out
 
 



More information about the Numpy-svn mailing list