New submission from Tim Bielawa <tbiel...@redhat.com>:

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 <rep...@bugs.python.org>
<http://bugs.python.org/issue11648>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to