Message98922
| Author |
lemburg |
| Recipients |
brian.curtin, lemburg, pitrou |
| Date |
2010年02月05日.23:56:21 |
| SpamBayes Score |
5.3822823e-05 |
| Marked as misclassified |
No |
| Message-id |
<4B6CB024.4000407@egenix.com> |
| In-reply-to |
<1265397786.69.0.115648884629.issue7860@psf.upfronthosting.co.za> |
| Content |
Antoine Pitrou wrote:
>
> Antoine Pitrou <pitrou@free.fr> added the comment:
>
> The test could simply check that platform.machine() never returns "x86" when sys.maxsize is greater than 2**32.
> (and it would even be platform-agnostic)
I'm not sure what such a test would prove, e.g. on 64-bit Mac OS X,
platform.machine() return 'i386'. That could be mapped to 'x86'...
Note that 'x86_64' is just a 'x86' compatible processor with
the AMD 64-bit extensions, so 'x86' is a superset of 'x86_64'. |
|