[Numpy-discussion] long integers in genfromtxt

Pierre GM pgmdevlist at gmail.com
Mon Mar 15 12:06:31 EDT 2010


On Mar 13, 2010, at 3:51 PM, josef.pktd at gmail.com wrote:
> I was trying to find out what the "helpful" message
> "TypeError: expected a readable buffer object"  means
> 
> and it seems genfromtxt has problems identifying long integers (at
> least on Windows 32)
> 
>>>> np.array(4160680000,int)
> Traceback (most recent call last):
>  File "<pyshell#4>", line 1, in <module>
>    np.array(4160680000,int)
> OverflowError: long int too large to convert to int
> 


That's likely a bug.
Please open a ticket and and allocate it to me.



More information about the NumPy-Discussion mailing list