[Numpy-discussion] long integers in genfromtxt

Bruce Southey bsouthey@gmail....
Mon Mar 15 11:25:25 CDT 2010


On 03/15/2010 11:06 AM, Pierre GM wrote:
> On Mar 13, 2010, at 3:51 PM, josef.pktd@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.
> _______________________________________________
> NumPy-Discussion mailing list
> NumPy-Discussion@scipy.org
> http://mail.scipy.org/mailman/listinfo/numpy-discussion
>    
Hi,
I thought this is a MS windows limitation of only supporting 4 byte 
integers.

Bruce


More information about the NumPy-Discussion mailing list