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

NumPy numpy-tickets@scipy....
Thu Mar 22 16:02:20 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:  devel   
 Severity:  major            |   Resolution:          
 Keywords:                   |  
-----------------------------+----------------------------------------------
Changes (by berhoel):

  * version:  1.0.1 => devel

Comment:

 Replying to [comment:1 stefan]:
 > I recently cleaned up the tabs, so will you please check whether the
 latest version fixes your problem?

 The problem is not totally solved.

 I just did a "svn up;setup.py install". The commands
 {{{
 python -tt -c "import numpy.distutils"
 }}}
 and
 {{{
 python -tt -c "from numpy.distutils.core import setup"
 }}}
 are now OK, but
 {{{
 python -tt -c "import numpy;numpy.test()"
 }}}
 gives
 {{{
 ...
   Found 4 tests for numpy.ctypeslib
 Warning: FAILURE importing tests for <module 'numpy.lib.function_base'
 from '...es/numpy/lib/function_base.pyc'>
 /usr/local/lib/python2.5/site-packages/numpy/testing/numpytest.py:383:
 TabError: inconsistent use of tabs and spaces in indentation
 (test_function_base.py, line 286) (in _get_module_tests)
   Found 2 tests for numpy.lib.polynomial
 ...
 }}}

 Regards
 Berthold

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


More information about the Numpy-tickets mailing list