This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author jcea
Recipients eric.araujo, jcea, tarek
Date 2012-01-17.14:18:44
SpamBayes Score 4.7560236e-05
Marked as misclassified No
Message-id <1326809925.49.0.460193305693.issue13803@psf.upfronthosting.co.za>
In-reply-to
Content
Proposed patch for Python 2.7:

"""
--- util.py.old 2011-12-12 01:34:04.412234183 +0100
+++ util.py     2012-01-17 15:15:23.262257886 +0100
@@ -12,6 +12,7 @@
 from distutils.spawn import spawn
 from distutils import log
 from distutils.errors import DistutilsByteCompileError
+import platform
 
 def get_platform ():
     """Return a string that identifies the current platform.  This is used
@@ -76,6 +77,7 @@
         if release[0] >= "5":           # SunOS 5 == Solaris 2
             osname = "solaris"
             release = "%d.%s" % (int(release[0]) - 3, release[2:])
+            machine += ".%s" %platform.architecture()[0]
         # fall through to standard osname-release-machine representation
     elif osname[:4] == "irix":              # could be "irix64"!
         return "%s-%s" % (osname, release)
"""

So now the directory is named like "lib.solaris-2.10-i86pc.32bit-2.7".

Please, review.

I will commit it to 2.7, 3.1, 3.2 and 3.3 in a few days.
History
Date User Action Args
2012-01-17 14:18:45jceasetrecipients: + jcea, tarek, eric.araujo
2012-01-17 14:18:45jceasetmessageid: <1326809925.49.0.460193305693.issue13803@psf.upfronthosting.co.za>
2012-01-17 14:18:44jcealinkissue13803 messages
2012-01-17 14:18:44jceacreate