Message232008
| Author |
pitrou |
| Recipients |
barry, brett.cannon, eric.snow, ncoghlan, ned.deily, pitrou, steve.dower, tim.golden, vstinner, zach.ware |
| Date |
2014年12月02日.15:49:24 |
| SpamBayes Score |
-1.0 |
| Marked as misclassified |
Yes |
| Message-id |
<1417535364.47.0.265619758458.issue22980@psf.upfronthosting.co.za> |
| In-reply-to |
| Content |
As a side-note, it is interesting to note that Python currently wrongly identifies 32-bit builds under 64-bit Linux:
Python 3.5.0a0 (default:64a54f0c87d7, Nov 2 2014, 17:18:13)
[GCC 4.9.1] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> import sys, os, sysconfig
>>> sys.maxsize
2147483647
>>> os.uname()
posix.uname_result(sysname='Linux', nodename='fsol', release='3.16.0-25-generic', version='#33-Ubuntu SMP Tue Nov 4 12:06:54 UTC 2014', machine='x86_64')
>>> sysconfig.get_platform()
'linux-x86_64'
AFAIU, sysconfig.get_platform() (or its sibling distutils.util.get_platform()) is used for the naming of binary distributions... |
|