Martin von Gagern added the comment:
Sorry, this is a duplicate of issue #11432. Failed to find that, and also
failed to realize that python is now using hg and my svn checkout might be
outdated. Sorry there.
--
resolution: -> duplicate
status: open -> closed
___
New submission from Martin von Gagern :
suprocess.Popen on POSIX (using _posixsubprocess Module) has a good chance of
repeatedly closing the same file descriptor if the descriptor for stdin is also
used for stdout and/or stderr. Only stdout and stderr are checked for equality
with one another.