[Pythonmac-SIG] 64-bit Python?

Bill Northcott w.northcott at unsw.edu.au
Mon Jun 2 03:05:12 CEST 2008


> On May 29, 2008, at 2:53 PM, Frank Schima wrote:
>
>> I have the latest Mac Pro with 10.5.3. I ran the sys.maxint test  
>> and got the 32-bit result. I tried both the Apple python and the  
>> MacPorts python 2.5.2.
>

I had a quick look and it seems that the main Python library in the  
standard Apple framework is 4-way fat including both ppc64 and  
x86_64.  However, the python executable is only 32 bit.  So if you use  
the library through that it will be in 32 bit mode.

I would have thought it was not too hard to build a 64 bit python  
executable against the installed library.  It is just a command  
interpreter.

Bill Northcott


More information about the Pythonmac-SIG mailing list