[issue15592] subprocess.communicate() breaks on no input with universal newlines true

Chris Jerdonek report at bugs.python.org
Mon Aug 13 19:03:28 CEST 2012


Chris Jerdonek added the comment:

This issue may be the bug referenced here:

# BUG: can't give a non-empty stdin because it breaks both the
# select- and poll-based communicate() implementations.
(stdout, stderr) = p.communicate()

http://hg.python.org/cpython/file/843e0da7e91f/Lib/test/test_subprocess.py#l618

The reason is that the above test would fail if stdin were not None since the input to communicate is None.

I am preparing a test and patch for this issue.

----------

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue15592>
_______________________________________


More information about the Python-bugs-list mailing list