[NumPy-Tickets] [NumPy] #2173: __int__() segfaults for float128

NumPy Trac numpy-tickets@scipy....
Tue Jun 19 18:13:26 CDT 2012

#2173: __int__() segfaults for float128
 Reporter:  edcjones    |       Owner:  somebody   
     Type:  defect      |      Status:  new        
 Priority:  normal      |   Milestone:  Unscheduled
Component:  numpy.core  |     Version:  1.6.1      
 Keywords:              |  
 I use up-to-date Debian testing (wheezy) linux, amd64 architecture.  I
 have installed packages python3.2, version 3.2.3~rc2-1 and python3-numpy,
 version 1:1.6.2-1.

 I got the same answers with packages python2.7, version 2.7.3~rc2-2.1, and
 python-numpy, version 1:1.6.2-1.

 The second line causes a segmentation fault:

 M = numpy.finfo(numpy.float128).max

 i = M.__int__()

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

More information about the NumPy-Tickets mailing list