A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://mail.python.org/pipermail/python-dev/2018-October/155574.html below:

[Python-Dev] "Deprecation" of os.system in favor of subprocess?

[Python-Dev] "Deprecation" of os.system in favor of subprocess?Peter Wang pwang at anaconda.com
Wed Oct 24 17:39:23 EDT 2018
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."

-Peter
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/python-dev/attachments/20181024/cdce0159/attachment.html>
More information about the Python-Dev mailing list

RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4