Kaydet (Commit) d3950527 authored tarafından Ronald Oussoren's avatar Ronald Oussoren

Fix for issue 9164

üst 8a1c2543
...@@ -660,8 +660,7 @@ def get_platform(): ...@@ -660,8 +660,7 @@ def get_platform():
cflags = get_config_vars().get('CFLAGS') cflags = get_config_vars().get('CFLAGS')
archs = re.findall('-arch\s+(\S+)', cflags) archs = re.findall('-arch\s+(\S+)', cflags)
archs.sort() archs = tuple(sorted(set(archs)))
archs = tuple(archs)
if len(archs) == 1: if len(archs) == 1:
machine = archs[0] machine = archs[0]
......
...@@ -470,6 +470,8 @@ C-API ...@@ -470,6 +470,8 @@ C-API
Library Library
------- -------
- Issue #9164: Ensure that sysconfig handles duplicate -arch flags in CFLAGS
- Issue #7646: The fnmatch pattern cache no longer grows without bound. - Issue #7646: The fnmatch pattern cache no longer grows without bound.
- Issue #9136: Fix 'dictionary changed size during iteration' - Issue #9136: Fix 'dictionary changed size during iteration'
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment