[Python-Dev] deprecate commands.getstatus() (original) (raw)

Georg Brandl g.brandl at gmx.net
Tue Mar 13 22:32:15 CET 2007


Guido van Rossum schrieb:

On 3/13/07, Georg Brandl <g.brandl at gmx.net> wrote:

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 " which is completely nonobvious and confusing. +1.

Done in rev. 54361.

Georg



More information about the Python-Dev mailing list