New submission from Xavier de Gaye <xdeg...@gmail.com>:
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. ---------- components: Library (Lib) messages: 335139 nosy: xdegaye priority: normal severity: normal status: open title: test.pythoninfo prints a stack trace and exits with 1 when the compiler does not exist type: behavior versions: Python 3.8 _______________________________________ Python tracker <rep...@bugs.python.org> <https://bugs.python.org/issue35952> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com