[Numpy-tickets] [NumPy] #501: "print arr" fails with nan when seterr(all='raise') [test included]

NumPy numpy-tickets@scipy....
Tue Apr 17 18:13:21 CDT 2007


#501: "print arr" fails with nan when seterr(all='raise') [test included]
-------------------------+--------------------------------------------------
 Reporter:  AndrewStraw  |       Owner:  somebody
     Type:  defect       |      Status:  new     
 Priority:  normal       |   Milestone:          
Component:  numpy.core   |     Version:  none    
 Severity:  normal       |    Keywords:          
-------------------------+--------------------------------------------------
 The included testcase (a patch to go in numpy's unittests) triggers what I
 consider to be a bug. One should be able to print an array no matter what
 the seterr state is. If necessary, I suggest array_str pushes the errors
 state when setting to 'ignore', does the conversion to string, and pops
 the error state again.

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


More information about the Numpy-tickets mailing list