Josiah Carlson added the comment:

I'm going to be honest; seeing None being returned from a pipe read feels 
*really* broken to me. When I get None returned from an IO read operation, my 
first instinct is "there can't be anything else coming, why else would it 
return None?"

After changing writing to raise BrokenPipeError on a closed pipe, I've also 
changed reading to do the same and added a test to verify the behavior.

----------
Added file: http://bugs.python.org/file38691/subprocess_8.patch

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

Reply via email to