[issue9455] platform test borked in 2.7 branch on Power PC
Bill Janssen
report at bugs.python.org
Mon Aug 2 21:49:36 CEST 2010
Bill Janssen <bill.janssen at gmail.com> added the comment:
So the problem is in the _mac_ver_xml() routine in Lib/platform.py, which says:
machine = os.uname()[4]
if machine == 'ppc':
# for compatibility with the gestalt based code
machine = 'PowerPC'
and perhaps should say:
machine = os.uname()[4]
if machine in ('ppc', 'Power Macintosh'):
# for compatibility with the gestalt based code
machine = 'PowerPC'
----------
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue9455>
_______________________________________
More information about the Python-bugs-list
mailing list