[Python-Dev] SIGPIPE => SIG_IGN?

Guido van Rossum guido at python.org
Sat Sep 10 02:51:13 CEST 2005

> I was wondering, why are we setting SIGPIPE to SIG_IGN
> in initsigs():

Because you can get a SIGPIPE from writing to a socket whose other
side has shut down, and we want to turn that into an error.

--Guido van Rossum (home page: http://www.python.org/~guido/)

More information about the Python-Dev mailing list