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 gregory.p.smith
Recipients diekhans, gregory.p.smith, izbyshev, vstinner
Date 2020-12-27.20:42:26
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <>
> "using Python is more portable than relying on a shell."

Not in environments I use. :)  There isn't an installed python interpreter that can be executed when deploying Python as an embedded interpreter such as anyone using pyoxidizer or similar.  Plus "using python" means adding a Python startup time delay to anything that triggered such an action.  That added latency isn't acceptable in some situations.

When I suggest a workaround for something as involving an intermediate shell script, read that to mean "the user needs an intermediate program to do this complicated work for them - how is up to them - we aren't going to provide it from the stdlib".  A shell script is merely one easy pretty-fast solution - in environments where that is possible.

TL;DR - there's no one size fits all solution here.  But third party libraries could indeed implement any/all of these options including abstracting how and what gets used when if someone wanted to do that.
Date User Action Args
2020-12-27 20:42:26gregory.p.smithsetrecipients: + gregory.p.smith, vstinner, diekhans, izbyshev
2020-12-27 20:42:26gregory.p.smithsetmessageid: <>
2020-12-27 20:42:26gregory.p.smithlinkissue38435 messages
2020-12-27 20:42:26gregory.p.smithcreate