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.

Author zanella
Recipients jrosdahl, zanella
Date 2008-05-19.18:08:25
SpamBayes Score 0.202415
Marked as misclassified No
Message-id <>
I don't know a lot about the matter at hand, that's why I'm not gonna
append a patch.

On "_communicate()" after a pipe is read it's closed, doing the same on
"communicate()" seems to solve the issue of the extra pipe:

 if [self.stdin, self.stdout, self.stderr].count(None) >= 2:
            stdout = None
            stderr = None
            if self.stdin:
                if input:
            elif self.stdout:
                stdout =
+             self.stdout.close()
            elif self.stderr:
                stderr =
+             self.stderr.close()
            return (stdout, stderr)


Tested on "Python 2.6a2+ (trunk:62767M, May 19 2008, 13:11:07)".
Date User Action Args
2008-05-19 18:08:27zanellasetspambayes_score: 0.202415 -> 0.202415
recipients: + zanella, jrosdahl
2008-05-19 18:08:26zanellasetspambayes_score: 0.202415 -> 0.202415
messageid: <>
2008-05-19 18:08:25zanellalinkissue2791 messages
2008-05-19 18:08:25zanellacreate