[NumPy-Tickets] [NumPy] #1602: Py3k syntax error in setupscons.py

NumPy Trac numpy-tickets@scipy....
Thu Sep 2 13:45:42 CDT 2010


#1602: Py3k syntax error in setupscons.py
--------------------+-------------------------------------------------------
 Reporter:  srid    |       Owner:  somebody
     Type:  defect  |      Status:  new     
 Priority:  normal  |   Milestone:  1.5.0   
Component:  Other   |     Version:  devel   
 Keywords:          |  
--------------------+-------------------------------------------------------
 numpy-1.5.0 and Python 3.1.2

 {{{
 $ python3 setupscons.py
   File "setupscons.py", line 61
     except ImportError, e:
                       ^
 SyntaxError: invalid syntax
 }}}


 Also 'import __builtin__' need to be changed to 'import builtins' on Py3k.

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


More information about the NumPy-Tickets mailing list