Movatterモバイル変換


[0]ホーム

URL:


homepage

Issue31294

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

classification
Title:ZeroMQSocketListener and ZeroMQSocketHandler examples in the Logging Cookbook not working
Type:Stage:resolved
Components:DocumentationVersions:Python 3.7, Python 3.6
process
Status:closedResolution:fixed
Dependencies:Superseder:
Assigned To: docs@pythonNosy List: christian.heimes, docs@python, pablogsal
Priority:normalKeywords:patch

Created on2017-08-28 18:55 bypablogsal, last changed2022-04-11 14:58 byadmin. This issue is nowclosed.

Pull Requests
URLStatusLinkedEdit
PR 3229mergedpablogsal,2017-08-28 18:55
PR 3430mergedpython-dev,2017-09-07 20:53
Messages (4)
msg300960 -(view)Author: Pablo Galindo Salgado (pablogsal)*(Python committer)Date: 2017-08-28 18:55
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.
msg301629 -(view)Author: Christian Heimes (christian.heimes)*(Python committer)Date: 2017-09-07 20:53
New changeset586c0502b5eb9a39cabe0bc2707a8ff63114265c by Christian Heimes (Pablo Galindo) in branch 'master':bpo-31294: Fix ZeroMQSocketListener and ZeroMQSocketHandler examples (#3229)https://github.com/python/cpython/commit/586c0502b5eb9a39cabe0bc2707a8ff63114265c
msg301641 -(view)Author: Christian Heimes (christian.heimes)*(Python committer)Date: 2017-09-07 22:28
New changeset27ce5a1b1931b670da234c30d24bfbbc93fa24d7 by Christian Heimes (Miss Islington (bot)) in branch '3.6':[3.6]bpo-31294: Fix ZeroMQSocketListener and ZeroMQSocketHandler examples (GH-3229) (#3430)https://github.com/python/cpython/commit/27ce5a1b1931b670da234c30d24bfbbc93fa24d7
msg301745 -(view)Author: Christian Heimes (christian.heimes)*(Python committer)Date: 2017-09-08 22:27
Thanks for your contribution. Your PR has been merged into 3.6 and master, which will become Python 3.7 eventually.
History
DateUserActionArgs
2022-04-11 14:58:51adminsetgithub: 75475
2017-09-08 22:27:33christian.heimessetstatus: open -> closed
versions: + Python 3.6, Python 3.7
messages: +msg301745

resolution: fixed
stage: patch review -> resolved
2017-09-07 22:28:23christian.heimessetmessages: +msg301641
2017-09-07 20:53:24python-devsetkeywords: +patch
stage: patch review
pull_requests: +pull_request3427
2017-09-07 20:53:14christian.heimessetnosy: +christian.heimes
messages: +msg301629
2017-08-28 18:55:35pablogsalcreate
Supported byThe Python Software Foundation,
Powered byRoundup
Copyright © 1990-2022,Python Software Foundation
Legal Statements

[8]ページ先頭

©2009-2026 Movatter.jp