STINNER Victor <vstin...@python.org> added the comment:

> Programs trapping CompileError but not FileNotFoundError will crash where 
> once they had error handling.

Do you mean mean that spawn() of distutils.spawn should catch FileNotFoundError 
and raise a CompilerError instead?

It seems like before my commit 1ec63b62035e73111e204a0e03b83503e1c58f2e, any 
OSError was catched and replaced with DistutilsExecError, not only 
FileNotFoundError.

Do you want to propose a fix?

----------
nosy: +vstinner

_______________________________________
Python tracker <rep...@bugs.python.org>
<https://bugs.python.org/issue41207>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to