64-bit Python?

Davide Tacchella (CSCS) tack at cscs.ch
Mon Jun 24 13:25:31 CEST 2002


Kragen Sitaker wrote:
> 
> Yes, this is correct.  Even the buffer interface, which my
> arrayfrombuffer package[0] uses to provide access to mmapped files as
> Numeric arrays inexplicably uses int instead of size_t.
> 
> The problem is that all of the 64-bit platforms I have access to
> (various Linuxes on Alpha and IA-64, Tru64 on Alpha) have 4-byte ints
> and 8-byte longs, at least by default.  This is called "LP64": longs
> and pointers are 64, but ints are 32, so all the code that assumes
> ints are 32 will continue to work.
> 

Did somebody successfully built Python on AIX with 64 bit support ?

dynload_aix.c seems not to be 64 bit safe code ...
---- (function aix_getoldmodules)
offset = (unsigned int)ldiptr->ldinfo_next;
ldiptr = (struct ld_info *)((unsigned int)ldiptr + offset);
---

Davide



More information about the Python-list mailing list