Author pitrou
Recipients Arfrever, eric.araujo, jkloth, pitrou, sferencik, tarek
Date 2013-09-12.15:18:52
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <587470009.57075374.1378999126384.JavaMail.root@zimbra10-e2.priv.proxad.net>
In-reply-to <1378884408.91.0.207786386719.issue18987@psf.upfronthosting.co.za>
Content
Hello,

> To discover a 32-bit interpreter running on a 64-bit system, we could
> use
> platform.architecture(), which returns
>     >>> platform.architecture()
>     ('32bit', 'ELF')

Just use (sys.maxsize < 2**32).

> What then, though? How do you turn '32bit' to 'linux-i386'?

I don't know. How does distutils normally do? :-)
History
Date User Action Args
2013-09-12 15:18:52pitrousetrecipients: + pitrou, tarek, jkloth, eric.araujo, Arfrever, sferencik
2013-09-12 15:18:52pitroulinkissue18987 messages
2013-09-12 15:18:52pitroucreate