[Numpy-tickets] [NumPy] #736: Inconsistent integer conversion from strings

NumPy numpy-tickets@scipy....
Sun Apr 13 16:35:11 CDT 2008

#736: Inconsistent integer conversion from strings
 Reporter:  stefan  |        Owner:  somebody
     Type:  defect  |       Status:  new     
 Priority:  normal  |    Milestone:  1.0.5   
Component:  Other   |      Version:  none    
 Severity:  normal  |   Resolution:          
 Keywords:          |  
Comment (by charris):

 I've fixed the conversions so that all integers convert strings. All
 except int32 also have the to many items problem.


 In [28]: np.int64('12')
 Out[28]: array([1, 2], dtype=int64)

 The root of this seems to lie in the array creation function.

Ticket URL: <http://scipy.org/scipy/numpy/ticket/736#comment:3>
NumPy <http://projects.scipy.org/scipy/numpy>
The fundamental package needed for scientific computing with Python.

More information about the Numpy-tickets mailing list