[Python-Dev] Solaris family and 64 bits compiling

Brian Curtin brian.curtin at gmail.com
Tue Nov 23 01:06:33 CET 2010


On Mon, Nov 22, 2010 at 17:48, Jesus Cea <jcea at jcea.es> wrote:

> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> I think this is probably trivial, but is there any foolproof way to
> detect 64 bit builds in python, beside "sys.maxint"?.
>

import platform
platform.architecture()
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/python-dev/attachments/20101122/d10dc442/attachment-0001.html>


More information about the Python-Dev mailing list