New submission from Alfred Perlstein <alf...@freebsd.org>:

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)

----------
assignee: docs@python
components: Documentation
messages: 316877
nosy: docs@python, splbio
priority: normal
pull_requests: 6597
severity: normal
status: open
title: Sigpipe handling issue should be documented
type: behavior
versions: Python 2.7, Python 3.4, Python 3.5, Python 3.6, Python 3.7, Python 3.8

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

Reply via email to