New submission from Tim Bielawa :
Issue 8451 unintentionally introduced a bug into the openlog() function in the
syslog module.
syslog.openlog() as documented [1] is defined as: syslog.openlog([ident[,
logopt[, facility]]]). I believe this is caused by the patch for issue 8451
redefining the kwargs to expect a 'logoption' keyword instead.
This patch:
- Fixes syslog.openlog() so that it properly accepts the 'logopt' keyword
argument again.
[1] http://docs.python.org/library/syslog.html#syslog.openlog
--
components: Library (Lib)
files: syslog-fixlogopt-keyword.patch
keywords: patch
messages: 131844
nosy: tbielawa
priority: normal
severity: normal
status: open
title: openlog()s 'logopt' keyword broken in syslog module
versions: Python 2.7
Added file: http://bugs.python.org/file21352/syslog-fixlogopt-keyword.patch
___
Python tracker
<http://bugs.python.org/issue11648>
___
___
Python-bugs-list mailing list
Unsubscribe:
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com