Author zooko
Recipients zooko
Date 2009-10-15.23:40:50
SpamBayes Score 6.46037e-06
Marked as misclassified No
Message-id <>
Looking at and reading the
source of Lib/, it appears to me that uname() returns
different strings identifying the amd64 architecture depending on what
operating system is running.  It would seem to me that it would be
better to report the same arch with the same string on all platforms.

Could someone with win64 report the output of:

python -c 'import platform;print platform.uname()[4]'

Here is a patch against trunk that just replaces any 'x86_64' with 'amd64':

HACK yukyuk:~/playground/python/trunk$ svn diff
Index: Lib/
--- Lib/     (revision 75443)
+++ Lib/     (working copy)
@@ -1225,6 +1225,9 @@
         system = 'Windows'
         release = 'Vista'

+    #  normalize 'amd64' arch
+    if machine == 'x86_64':
+        machine = 'amd64'
     _uname_cache = system,node,release,version,machine,processor
     return _uname_cache
Date User Action Args
2009-10-15 23:40:52zookosetrecipients: + zooko
2009-10-15 23:40:52zookosetmessageid: <>
2009-10-15 23:40:51zookolinkissue7146 messages
2009-10-15 23:40:50zookocreate