Movatterモバイル変換


[0]ホーム

URL:


homepage

Message300960

This issue trackerhas been migrated toGitHub, and is currentlyread-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Authorpablogsal
Recipientsdocs@python, pablogsal
Date2017-08-28.18:55:34
SpamBayes Score-1.0
Marked as misclassifiedYes
Message-id<1503946535.18.0.843983247211.issue31294@psf.upfronthosting.co.za>
In-reply-to
Content
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.
History
DateUserActionArgs
2017-08-28 18:55:35pablogsalsetrecipients: +pablogsal,docs@python
2017-08-28 18:55:35pablogsalsetmessageid: <1503946535.18.0.843983247211.issue31294@psf.upfronthosting.co.za>
2017-08-28 18:55:35pablogsallinkissue31294 messages
2017-08-28 18:55:34pablogsalcreate
Supported byThe Python Software Foundation,
Powered byRoundup
Copyright © 1990-2022,Python Software Foundation
Legal Statements

[8]ページ先頭

©2009-2026 Movatter.jp