[NumPy-Tickets] [NumPy] #2235: numpy.int_ not recognized as an int subclass in some Python extensions

NumPy Trac numpy-tickets@scipy....
Sun Oct 28 12:37:21 CDT 2012


#2235: numpy.int_ not recognized as an int subclass in some Python extensions
----------------------------+-----------------------------------------------
 Reporter:  mark.dickinson  |       Owner:  somebody   
     Type:  defect          |      Status:  new        
 Priority:  normal          |   Milestone:  Unscheduled
Component:  numpy.core      |     Version:  1.6.2      
 Keywords:                  |  
----------------------------+-----------------------------------------------
 It appears that type initialization is not completed correctly for the
 numpy.int_ type, with the result that the Py_TPFLAGS_INT_SUBCLASS flag is
 not being set, and numpy.int_ is not recognized as a subclass of int by
 the datetime.timedelta constructor.

 See http://bugs.python.org/issue5476 for more details.

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


More information about the NumPy-Tickets mailing list