Issue 4697: Clarification needed for subprocess convenience functions in Python 3.0 documentation (original) (raw)
Issue4697
Created on 2008-12-18 22:38 by Erik Sternerson, last changed 2022-04-11 14:56 by admin. This issue is now closed.
Messages (4) | ||
---|---|---|
msg78044 - (view) | Author: Erik Sternerson (Erik Sternerson) | Date: 2008-12-18 22:38 |
There are two new convenience functions in the subprocess module since Python 3.0, getstatusoutput and getoutput. These are UNIX ONLY functions (as per note "# NB This only works (and is only relevant) for UNIX." in subprocess.py) I believe the documentation page http://docs.python.org/3.0/library/subprocess.html does not reflect this sufficiently (not sure it does at all). I suggest a note should be added saying "Availability: UNIX" to the two functions mentioned. | ||
msg78381 - (view) | Author: Georg Brandl (georg.brandl) * ![]() |
Date: 2008-12-27 19:08 |
Thanks, fixed in r67962. | ||
msg110425 - (view) | Author: Matthieu Labbé (matthieu.labbe) | Date: 2010-07-16 10:09 |
I think "Availability: UNIX" is incorrect: it is *available* under Windows and gives an unexpected error message. See http://bugs.python.org/issue5808#msg110424 | ||
msg110426 - (view) | Author: Georg Brandl (georg.brandl) * ![]() |
Date: 2010-07-16 10:31 |
Well, "available" in this case can also mean that it doesn't work. |
History | |||
---|---|---|---|
Date | User | Action | Args |
2022-04-11 14:56:43 | admin | set | github: 48947 |
2010-07-16 10:31:09 | georg.brandl | set | messages: + |
2010-07-16 10:09:39 | matthieu.labbe | set | nosy: + matthieu.labbemessages: + |
2008-12-27 19:08:21 | georg.brandl | set | status: open -> closedresolution: fixedmessages: + |
2008-12-18 22:38:45 | Erik Sternerson | create |