[NumPy-Tickets] [NumPy] #1376: Suspecting indentation error!

NumPy Trac numpy-tickets@scipy....
Wed Jan 27 09:11:30 CST 2010


#1376: Suspecting indentation error!
-----------------------------+----------------------------------------------
 Reporter:  lenard.palko     |       Owner:  cdavid
     Type:  defect           |      Status:  new   
 Priority:  normal           |   Milestone:  1.4.0 
Component:  numpy.distutils  |     Version:  1.4.0 
 Keywords:                   |  
-----------------------------+----------------------------------------------
 In the file numpy/distutils/fcompiler/gnu.py lines 303 to 308:

 {{{
 303                 if is_win64():
 304                     c_compiler = self.c_compiler
 305                     if c_compiler and c_compiler.compiler_type ==
 "msvc":
 306                         return []
 307                 else:
 308                     raise NotImplementedError("Only MS compiler
 supported with gfortran on win64")
 }}}

 The else seems to have wrong indentation and from this reason if the
 platform is a win32 platform it detects it as a win64 platform and raises
 the nasty exception. I found this error in the numpy-1.4.0-win32
 -superpack-python2.5.exe distribution found for download on:
 http://sourceforge.net/projects/numpy/files/

-- 
Ticket URL: <http://projects.scipy.org/numpy/ticket/1376>
NumPy <http://projects.scipy.org/numpy>
My example project


More information about the NumPy-Tickets mailing list