[Pythonmac-SIG] machine architecture 32/64 with Python 2.6 on Snow Leopard?

William Kyngesburye woklist at kyngchaos.com
Sat Sep 19 01:28:47 CEST 2009


If you run the CLI 'uname -m' on any Intel Mac, it always has returned  
i386.  So all it really means is 'Intel'.

On Sep 18, 2009, at 5:53 PM, Bill Janssen wrote:

> I'm running /usr/bin/python on SL, and
>
>    import platform; print platform.machine()
>
> give me
>
>    i386
>
> But Activity Monitor shows Python as "Intel (64-bit)".
>
> Is this a bug in platform.machine(), or am I misunderstanding what  
> i386
> means?  "platform.architecture()" returns ('64bit', '').
>
> Bill
> _______________________________________________
> Pythonmac-SIG maillist  -  Pythonmac-SIG at python.org
> http://mail.python.org/mailman/listinfo/pythonmac-sig

-----
William Kyngesburye <kyngchaos*at*kyngchaos*dot*com>
http://www.kyngchaos.com/

"Mon Dieu! but they are all alike.  Cheating, murdering, lying,  
fighting, and all for things that the beasts of the jungle would not  
deign to possess - money to purchase the effeminate pleasures of  
weaklings.  And yet withal bound down by silly customs that make them  
slaves to their unhappy lot while firm in the belief that they be the  
lords of creation enjoying the only real pleasures of existence....

- the wisdom of Tarzan




More information about the Pythonmac-SIG mailing list