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/2007-March/071925.html below:

[Python-Dev] deprecate commands.getstatus()

[Python-Dev] deprecate commands.getstatus() [Python-Dev] deprecate commands.getstatus()Georg Brandl g.brandl at gmx.net
Tue Mar 13 21:32:47 CET 2007
I'd like to deprecate commands.getstatus() in 2.6.

Reason: there is getoutput() and getstatusoutput(). In the latter, "status"
means the exit code. getstatus(), however, returns the output of "ls -ld
<file>" which is completely nonobvious and confusing.

Perhaps the whole commands module can be deprecated in favor of subprocess.

Georg

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