Note: these values reflect the state of the issue at the time it was migrated and might not reflect the current state.
Show more details
GitHub fields:
assignee=Noneclosed_at=<Date2017-09-08.22:27:33.661>created_at=<Date2017-08-28.18:55:35.156>labels= ['3.7', 'docs']
title='ZeroMQSocketListener and ZeroMQSocketHandler examples in the Logging Cookbook not working'updated_at=<Date2017-09-08.22:27:33.658>user='https://github.com/pablogsal'
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.
New changeset 586c050 by Christian Heimes (Pablo Galindo) in branch 'master': bpo-31294: Fix ZeroMQSocketListener and ZeroMQSocketHandler examples (bpo-3229) 586c050
New changeset 27ce5a1 by Christian Heimes (Miss Islington (bot)) in branch '3.6':
[3.6] bpo-31294: Fix ZeroMQSocketListener and ZeroMQSocketHandler examples (GH-3229) (bpo-3430) 27ce5a1
Note: these values reflect the state of the issue at the time it was migrated and might not reflect the current state.
Show more details
GitHub fields:
bugs.python.org fields:
The text was updated successfully, but these errors were encountered: