[New-bugs-announce] [issue26803] syslog logging handler fails with address in unix abstract namespace

Xavier de Gaye report at bugs.python.org
Tue Apr 19 03:35:16 EDT 2016


New submission from Xavier de Gaye:

The traceback:

    Traceback (most recent call last):
      File "Lib/logging/handlers.py", line 917, in emit
        self.socket.sendto(msg, self.address)
    TypeError: getsockaddrarg: AF_INET address must be tuple, not bytes

The attached patch reproduces the issue with a test case and fixes it.

----------
components: Library (Lib)
files: unix_abstract_namespace.patch
keywords: patch
messages: 263715
nosy: vinay.sajip, xdegaye
priority: normal
severity: normal
status: open
title: syslog logging handler fails with address in unix abstract namespace
type: behavior
versions: Python 3.6
Added file: http://bugs.python.org/file42513/unix_abstract_namespace.patch

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


More information about the New-bugs-announce mailing list