array of 64-bit ints?

"Martin v. Löwis" martin at v.loewis.de
Fri May 23 13:38:07 EDT 2008


> Is it possible to have an array of 64-bit-ints using the standard Python 
> array module?  On my 64-bit architecture (AMD64, MSVC), both "int" and 
> "long int" are 32 bit integers.  To declare 64-bit ints, one needs either 
> "long long int" or "size_t".  However, according to the Python array 
> documentation, arrays of "size_t" or "long long int" are not available.

No, it's not possible.

Regards,
Martin



More information about the Python-list mailing list