[issue9164] 2.7 sysconfig should handle arch duplicates while building universal on OS X

Jyrki Wahlstedt report at bugs.python.org
Tue Jul 6 09:43:28 CEST 2010


Jyrki Wahlstedt <jyrki.wahlstedt at wahlstedt.fi> added the comment:

The fix could be something like replace line 649 in sysconfig.py:

archs = tuple(archs)

with:

archs = tuple(sorted(list(set(archs))))

This removes the duplicates, but as transforming the list to set does not seem to keep order, it is necessary to sort the list (hence the previous line sorting the list could be dropped perhaps).

----------
title: 2.7 sysconfig should handle arch duplicates -> 2.7 sysconfig should handle arch duplicates while building universal on OS X

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue9164>
_______________________________________


More information about the Python-bugs-list mailing list