classification
Title: Sigpipe handling issue should be documented
Type: behavior Stage:
Components: Documentation Versions: Python 3.8, Python 3.7, Python 3.6, Python 3.5, Python 3.4, Python 2.7
process
Status: open Resolution:
Dependencies: Superseder:
Assigned To: docs@python Nosy List: docs@python, splbio
Priority: normal Keywords:

Created on 2018-05-16 23:55 by splbio, last changed 2018-05-16 23:55 by splbio.

Pull Requests
URL Status Linked Edit
PR 6773 open splbio, 2018-05-16 23:55
Messages (1)
msg316877 - (view) Author: Alfred Perlstein (splbio) * Date: 2018-05-16 23:55
A common anti-pattern in python used to get rid of "ugly" brokenpipe messages is to set the SIGPIPE handler to SIG_DFL, this however will cause your program to seemingly randomly exit if it makes any socket connections during its lifetime.  (see github PR for more info)
History
Date User Action Args
2018-05-16 23:55:52splbiocreate