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
I agree with Georg, unfortunately. And I say "unfortunately" because neither "logopt" nor "logoption" is a good name. The "log" part adds nothing. The man page for syslog calls this "option", which would be my preferred name. But changing it now would be a hassle. Also, we clearly need a test for this, since apparently none failed when it was changed to the longer name.