Martin Panter added the comment:

Perhaps you can avoid the 10 s deadlock timeout and threading in your test by 
closing the underlying input pipe file descriptor (or raw file object), without 
flushing it.

Also, it seems to me that “line_buffering=True” is redundant with 
“write_through=True”. I’m not super familiar with the new write-through mode 
though, so I could be wrong. Perhaps the change in “subprocess.py” may not be 
needed at least once Issue 21396 is fixed.

----------
nosy: +vadmium

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue21332>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to