Author pablogsal
Recipients docs@python, pablogsal
Date 2017-08-28.18:55:34
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <>
There are two documentation issues regarding the ZeroMQSocketListener and ZeroMQSocketHandler examples in the Logging Cookbook:

The first issue is that in the 'init' method for the 'ZeroMQSocketListener' the base class 'init' is never called and therefore the internal variables are not correctly initialized. This leads to an empty 'handlers' attribute and a undefined 'queue' attribute.

The second issue is that zmq.Socket.send and zmq.Socket.setsockopt only admits bytecode variables and therefore it fails in Python3 when using plain strings.
Date User Action Args
2017-08-28 18:55:35pablogsalsetrecipients: + pablogsal, docs@python
2017-08-28 18:55:35pablogsalsetmessageid: <>
2017-08-28 18:55:35pablogsallinkissue31294 messages
2017-08-28 18:55:34pablogsalcreate