[Numpy-tickets] [NumPy] #381: getattr(True_, 'imag') and getattr(False_, 'imag') cause a seg fault

NumPy numpy-tickets at scipy.net
Wed Nov 15 16:44:46 CST 2006


#381: getattr(True_,'imag') and getattr(False_,'imag') cause a seg fault
------------------------+---------------------------------------------------
 Reporter:  davebaum    |       Owner:  somebody
     Type:  defect      |      Status:  new     
 Priority:  normal      |   Milestone:          
Component:  numpy.core  |     Version:          
 Severity:  normal      |    Keywords:          
------------------------+---------------------------------------------------
 The following code causes a core dump:

 import numpy
 getattr(numpy.False_, 'imag')

 I have tried this on a 1.0b5 build on Mac OSX and 1.0rc1 build on Linux.

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


More information about the Numpy-tickets mailing list