This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

classification
Title: popen3 website documentation inconsistency
Type: Stage:
Components: Documentation Versions: Python 2.5
process
Status: closed Resolution: not a bug
Dependencies: Superseder:
Assigned To: Nosy List: georg.brandl, jbronn
Priority: normal Keywords:

Created on 2007-09-30 03:27 by jbronn, last changed 2022-04-11 14:56 by admin. This issue is now closed.

Messages (2)
msg56198 - (view) Author: Justin Bronn (jbronn) Date: 2007-09-30 03:27
The Python website says that the following tuple is returned from
popen3: "Returns the file objects (child_stdout, child_stdin,
child_stderr)."  See http://docs.python.org/lib/module-popen2.html.

However, the docstring of popen3 gets the order right (using Python 2.5.1):
"The file objects (child_stdin, child_stdout, child_stderr) are
returned." See `help(os.popen3)`.
msg57799 - (view) Author: Georg Brandl (georg.brandl) * (Python committer) Date: 2007-11-24 11:22
Sorry, but you're confusing the os.popen* functions with the
popen3.popen* functions. (That they both exist, and return the handles
in different orders is a mess, but it is documented correctly.)
History
Date User Action Args
2022-04-11 14:56:27adminsetgithub: 45561
2007-11-24 11:22:28georg.brandlsetstatus: open -> closed
resolution: not a bug
messages: + msg57799
nosy: + georg.brandl
2007-09-30 03:27:53jbronncreate