[NumPy-Tickets] [NumPy] #1565: loadtxt fails to load large unsigned int64 integers.

NumPy Trac numpy-tickets@scipy....
Mon Sep 6 10:49:13 CDT 2010


#1565: loadtxt fails to load large unsigned int64 integers.
-------------------------+--------------------------------------------------
 Reporter:  rainwoodman  |       Owner:  somebody    
     Type:  defect       |      Status:  needs_review
 Priority:  normal       |   Milestone:  1.5.1       
Component:  Other        |     Version:  1.4.0       
 Keywords:               |  
-------------------------+--------------------------------------------------

Comment(by charris):

 Needs some work. Note that savetxt has the same problem and that with your
 fix negative numbers are converted bitwise to their uint counterpart. That
 is the numpy way but it probably isn't what readers of text files expect.
 I agree about raising the error. I'm not convinced that the other integer
 types shouldn't do the same.

 Patch attached with your changes and two added tests.

-- 
Ticket URL: <http://projects.scipy.org/numpy/ticket/1565#comment:6>
NumPy <http://projects.scipy.org/numpy>
My example project


More information about the NumPy-Tickets mailing list