This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author vstinner
Recipients dstufft, eric.araujo, jaraco, lukasz.langa, vstinner
Date 2020-07-06.12:02:40
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1594036960.27.0.916067872933.issue41207@roundup.psfhosted.org>
In-reply-to
Content
> 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?
History
Date User Action Args
2020-07-06 12:02:40vstinnersetrecipients: + vstinner, jaraco, eric.araujo, lukasz.langa, dstufft
2020-07-06 12:02:40vstinnersetmessageid: <1594036960.27.0.916067872933.issue41207@roundup.psfhosted.org>
2020-07-06 12:02:40vstinnerlinkissue41207 messages
2020-07-06 12:02:40vstinnercreate