64-bit Python?

Fredrik Lundh fredrik at pythonware.com
Thu Jun 6 04:26:10 EDT 2002


Mike Coleman wrote:

> Has anyone looked at making Python 64-bit clean?

It is 64-bit clean, and has been so for many years.

> I was looking at trying to use the new mmap module to map in a large (>2G)
> file, and the comments in the source note that the mmap regions are limited to
> int-size (31 bits), primarily because Python objects are also limited to this
> size.

Python *integer* objects are limited to that size on platforms
where a C long is 32 bits.

Python runs perfectly fine on tru64, itanium, and other 64-bit
platforms.  On most of them, Python ints hold 64-bit values.

</F>





More information about the Python-list mailing list