[ python-Bugs-886619 ] wrong documentation for popen2
SourceForge.net
noreply at sourceforge.net
Sun Jan 9 02:08:50 CET 2005
Bugs item #886619, was opened at 2004-01-29 01:07
Message generated for change (Comment added) made by jlgijsbers
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=105470&aid=886619&group_id=5470
Category: Documentation
Group: None
>Status: Closed
>Resolution: Invalid
Priority: 5
Submitted By: Serge Winitzki (winitzki)
Assigned to: Nobody/Anonymous (nobody)
Summary: wrong documentation for popen2
Initial Comment:
the python 2.3.3 library documentation for popen2 says:
( file:///usr/share/doc/python2.3/html/lib/module-popen2.html)
popen2( cmd[, bufsize[, mode]])
Executes cmd as a sub-process. Returns the file objects (child_stdout, child_stdin).
however, the actual behavior of python 2.3.3 is to return (child_stdin, child_stdout) - in the reverse order.
I haven't checked with popen3 and popen4.
thanks.
----------------------------------------------------------------------
>Comment By: Johannes Gijsbers (jlgijsbers)
Date: 2005-01-09 02:08
Message:
Logged In: YES
user_id=469548
This has either been fixed in Python 2.4, or you're
confusing popen2.popen2 with os.popen2, which does return
the file objects in the order you describe.
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=105470&aid=886619&group_id=5470
More information about the Python-bugs-list
mailing list