New submission from Garrett Cooper:

The logging module checks for ECONNRESET if it's equal to 104. This is valid on 
Linux, but not [some] other OSes. On FreeBSD and OpenBSD [*] it's 54, not 104.

The attached patch fixes the logging code to check for errno.ECONNRESET in 
!win32 environments.

http://www.openbsd.org/cgi-bin/man.cgi?query=errno&apropos=0&sektion=0&manpath=OpenBSD+Current&arch=i386&format=htmlvim

----------
files: patch
messages: 210580
nosy: yaneurabeya
priority: normal
severity: normal
status: open
title: ECONNRESET value in logging.config is valid with Linux [distros]; not 
valid with *BSD
Added file: http://bugs.python.org/file33985/patch

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

Reply via email to