Ticket #1376 (closed defect: fixed)

Opened 7 months ago

Last modified 7 months ago

Suspecting indentation error!

Reported by: lenard.palko Owned by: cdavid
Priority: normal Milestone: 1.4.1
Component: numpy.distutils Version: 1.4.0
Keywords: Cc:

Description

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/

Change History

Changed 7 months ago by oliphant

  • status changed from new to closed
  • resolution set to fixed

Fixed in r8087

Note: See TracTickets for help on using tickets.