You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Note: these values reflect the state of the issue at the time it was migrated and might not reflect the current state.
Show more details
assignee=Noneclosed_at=<Date2019-04-29.13:21:29.442>created_at=<Date2019-02-09.21:06:05.137>labels= ['3.7', '3.8', 'type-bug', 'library']
title='test.pythoninfo prints a stack trace and exits with 1 when the compiler does not exist'updated_at=<Date2019-04-29.13:21:29.433>user='https://github.com/xdegaye'
The call to subprocess.Popen() in collect_cc() of Lib/test/pythoninfo.py raises an exception when the compiler that has been used to build python is not present on the host running python. In that case pythoninfo prints a stack trace and exits with an error.
On the other side if the execution of the compiler to get its version fails, the error is silently ignored. It seems the exception should be ignored as well.