[Python-Dev] "Deprecation" of os.system in favor of subprocess?
On Wed, Oct 24, 2018 at 3:31 PM Steven D'Aprano <steve at pearwood.info> wrote:
> On Wed, Oct 24, 2018 at 09:34:34AM -0400, Calvin Spealman wrote:
> > Simply put, there is no valid use case for os.system over subprocess
> If you depreciate and then remove os.system, all you will do is force
> people to re-invent it, badly and inefficiently.
Indeed. Usability counts, as does not arbitrarily breaking vast amounts of
existing code that Just Works.
Every code-breaking deprecation is an invitation for unseen thousands or
millions to ponder, "Hm, this script doesn't work anymore. Maybe now is the
time to look at Node or Rust."
-------------- next part --------------
An HTML attachment was scrubbed...