File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -182,7 +182,7 @@ def _find_appropriate_compiler(_config_vars):
182182 # Compiler is GCC, check if it is LLVM-GCC
183183 data = _read_output ("'%s' --version"
184184 % (cc .replace ("'" , "'\" '\" '" ),))
185- if 'llvm-gcc' in data :
185+ if data and 'llvm-gcc' in data :
186186 # Found LLVM-GCC, fall back to clang
187187 cc = _find_build_tool ('clang' )
188188
Original file line number Diff line number Diff line change @@ -1281,6 +1281,7 @@ Andrew Svetlov
12811281Paul Swartz
12821282Thenault Sylvain
12831283Péter Szabó
1284+ John Szakmeister
12841285Amir Szekely
12851286Arfrever Frehtes Taifersar Arahesis
12861287Hideaki Takahashi
Original file line number Diff line number Diff line change @@ -165,6 +165,9 @@ Library
165165- asyncio: Add gi_{frame,running,code} properties to CoroWrapper
166166 (upstream issue #163).
167167
168+ - Issue #21311: Avoid exception in _osx_support with non-standard compiler
169+ configurations. Patch by John Szakmeister.
170+
168171Extension Modules
169172-----------------
170173
You can’t perform that action at this time.
0 commit comments