[issue1652] subprocess should have an option to restore SIGPIPE to default action

Gregory P. Smith report at bugs.python.org
Thu Sep 2 17:55:47 CEST 2010


Gregory P. Smith <greg at krypto.org> added the comment:

closing because it is too late to backport this to 2.7.  It is available as a backport in http://code.google.com/p/python-subprocess32/.

As for the idea of not using SIG_IGN and installing a default no-op handler, that is another approach.

signal.getsignal would need to be able to return it so that software wanting to temporarily handle its own sigpipes could restore that behavior afterwards.

----------
resolution:  -> fixed
status: open -> closed

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


More information about the Python-bugs-list mailing list