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

SourceForge.net noreply at sourceforge.net
Fri Dec 29 04:02:09 CET 2006


Bugs item #1623890, was opened at 2006-12-28 13:49
Message generated for change (Comment added) made by nnorwitz
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.5
>Status: Closed
>Resolution: Fixed
Priority: 5
Private: No
Submitted By: Neal Norwitz (nnorwitz)
>Assigned to: Neal Norwitz (nnorwitz)
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.

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

>Comment By: Neal Norwitz (nnorwitz)
Date: 2006-12-28 19:02

Message:
Logged In: YES 
user_id=33168
Originator: YES

Committed revision 53187. (2.5)
Committed revision 53188.


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

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