[NumPy-Tickets] [NumPy] #1680: constructing an array out of the wrong type fails with SystemError

NumPy Trac numpy-tickets@scipy....
Thu Nov 18 21:56:22 CST 2010


#1680: constructing an array out of the wrong type fails with SystemError
---------------------+------------------------------------------------------
 Reporter:  exarkun  |       Owner:  somebody
     Type:  defect   |      Status:  new     
 Priority:  normal   |   Milestone:  2.0.0   
Component:  Other    |     Version:  1.3.0   
 Keywords:           |  
---------------------+------------------------------------------------------
 {{{

 Python 2.6.4 (r264:75706, Dec  7 2009, 18:45:15)
 [GCC 4.4.1] on linux2
 Type "help", "copyright", "credits" or "license" for more information.
 >>> class foo: pass
 ...
 >>> import numpy
 >>> numpy.array([foo()], 'f')
 Traceback (most recent call last):
   File "<stdin>", line 1, in <module>
 SystemError: error return without exception set
 >>>
 }}}

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


More information about the NumPy-Tickets mailing list