[Python-bugs-list] [ python-Bugs-615212 ] popen2 returne objects is in wrong order

noreply@sourceforge.net noreply@sourceforge.net
Fri, 27 Sep 2002 09:42:40 -0700


Bugs item #615212, was opened at 2002-09-26 16:49
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=105470&aid=615212&group_id=5470

Category: Documentation
>Group: Not a Bug
>Status: Closed
>Resolution: Invalid
Priority: 5
Submitted By: Emil S. Hansen (eshesh)
Assigned to: Fred L. Drake, Jr. (fdrake)
Summary: popen2 returne objects is in wrong order

Initial Comment:
http://www.python.org/doc/current/lib/os-newstreams.html
list popen2's returned objects as (child_stdin,
child_stdout) while popen2.py list them as
(child_stdout, child_stdin). Quite a difference.

----------------------------------------------------------------------

>Comment By: Fred L. Drake, Jr. (fdrake)
Date: 2002-09-27 12:42

Message:
Logged In: YES 
user_id=3066

os.popen2() and popen2.popen2() are different functions, and
really do have orders in the return values.  See the second
paragraph in the popen2 module documentation:

Note that starting with Python 2.0, this functionality is
available using functions from the os module which have the
same names as the factory functions here, but the order of
the return values is more intuitive in the os module variants.


----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=105470&aid=615212&group_id=5470