[ python-Bugs-1623890 ] module docstring for subprocess is wrong

SourceForge.net noreply at sourceforge.net
Thu Dec 28 22:49:31 CET 2006


Bugs item #1623890, was opened at 2006-12-28 13:49
Message generated for change (Tracker Item Submitted) made by Item Submitter
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=105470&aid=1623890&group_id=5470

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: Python Library
Group: Python 2.4
Status: Open
Resolution: None
Priority: 5
Private: No
Submitted By: Neal Norwitz (nnorwitz)
Assigned to: Nobody/Anonymous (nobody)
Summary: module docstring for subprocess is wrong

Initial Comment:
The module docstring for subprocess is wrong.  It says:

communicate(input=None)
    Interact with process: Send data to stdin.  Read data from stdout
    and stderr, until end-of-file is reached.  Wait for process to
    terminate.  The optional stdin argument should be a string to be
    sent to the child process, or None, if no data should be sent to
    the child.

I'm not sure how to word the first stdin, but the second one should definitely be input, not stdin.

Also need to verify the docstring for the communicate method.

I'm guessing this affects Python 2.4 and later.  Looking at 2.4.1? right now.

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

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


More information about the Python-bugs-list mailing list