[New-bugs-announce] [issue17795] backwards-incompatible change in SysLogHandler with unix domain sockets

Mike Lundy report at bugs.python.org
Fri Apr 19 08:58:32 CEST 2013


New submission from Mike Lundy:

The changed merged from http://bugs.python.org/issue16168 causes a regression in SysLogHandler behavior. The socktype of /dev/log is dependent on syslog configuration, and the fallback behavior (trying SOCK_DGRAM and then SOCK_STREAM if the former failed) was very useful.

A better fix for this would preserve the fallback behavior in cases where the caller has not specifically requested a socktype. I've attached a patch with one such approach.

----------
components: Library (Lib)
files: 0001-Restore-SysLogHandler-fallback-for-AF_UNIX-sockets.patch
keywords: patch
messages: 187347
nosy: Mike.Lundy
priority: normal
severity: normal
status: open
title: backwards-incompatible change in SysLogHandler with unix domain sockets
type: behavior
versions: Python 2.7, Python 3.2, Python 3.3, Python 3.4
Added file: http://bugs.python.org/file29937/0001-Restore-SysLogHandler-fallback-for-AF_UNIX-sockets.patch

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


More information about the New-bugs-announce mailing list