Antoine Pitrou <pit...@free.fr> added the comment:

I think restore_sigpipe=True would be a reasonable default.
As RDM says, adding an unit test would be better, but it may be difficult to do 
so (we probably can't spawn Python itself since it will change the default 
SIGPIPE handler at startup).
Looking at the patch, you don't need to import `signal` again: it's already 
imported at the top level.

----------
nosy: +pitrou

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

Reply via email to