[Numpy-tickets] [NumPy] #470: numpy uses mixture of tabs and spaces in source code

NumPy numpy-tickets@scipy....
Mon Mar 19 10:55:26 CDT 2007


#470: numpy uses mixture of tabs and spaces in source code
-----------------------------+----------------------------------------------
 Reporter:  bhoel            |       Owner:  somebody
     Type:  defect           |      Status:  new     
 Priority:  normal           |   Milestone:          
Component:  numpy.distutils  |     Version:  1.0.1   
 Severity:  major            |    Keywords:          
-----------------------------+----------------------------------------------
 Building a module of mine usin numpy.distutils I get an error message
 related to the inconsistent use of tabs and spaces in indentation when
 invoking python with the "-tt" command line switch.

 {{{
 Traceback (most recent call last):
   File "setup.py", line 24, in ?
     from numpy.distutils.core import setup
   File "C:\Python24\lib\site-packages\numpy\distutils\__init__.py", line
 5, in ?
     import ccompiler
   File "C:\Python24\lib\site-packages\numpy\distutils\ccompiler.py", line
 11, in ?
     import log
   File "C:\Python24\lib\site-packages\numpy\distutils\log.py", line 7, in
 ?
     from misc_util import red_text, yellow_text, cyan_text, is_sequence,
 is_string
   File "C:\Python24\lib\site-packages\numpy\distutils\misc_util.py", line
 975
     import numpy.numarray.util as nnu
                                     ^
 TabError: inconsistent use of tabs and spaces in indentation

 }}}

 Component is set to {{{numpy.core}}}, but problem might apply to other
 components as well.

-- 
Ticket URL: <http://projects.scipy.org/scipy/numpy/ticket/470>
NumPy <http://projects.scipy.org/scipy/numpy>
The fundamental package needed for scientific computing with Python.


More information about the Numpy-tickets mailing list