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 gregory.p.smith, vstinner
Date 2020-12-15.23:25:01
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1608074701.89.0.405005331817.issue42648@roundup.psfhosted.org>
In-reply-to
Content
I wrote PR 23790 which adds exec_raise=True parameter to subprocess.Popen. exec_raise=False avoids try/except OSError.

I dislike the "exec_raise" parameter name. The function is not related to exec, but more specific to OSError. A better name may include "oserror", like "catch_oserror"?

The shutil.rmtree() has a "onerror" parameter. I don't know if it's a good inspiration for this feature.
History
Date User Action Args
2020-12-15 23:25:01vstinnersetrecipients: + vstinner, gregory.p.smith
2020-12-15 23:25:01vstinnersetmessageid: <1608074701.89.0.405005331817.issue42648@roundup.psfhosted.org>
2020-12-15 23:25:01vstinnerlinkissue42648 messages
2020-12-15 23:25:01vstinnercreate