This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author 1a1a11a
Recipients 1a1a11a, docs@python
Date 2017-11-16.17:27:04
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1510853224.34.0.213398074469.issue32051@psf.upfronthosting.co.za>
In-reply-to
Content
in multiprocessing doc https://docs.python.org/3.6/library/multiprocessing.html

under 17.2.2.7.2. Using a remote manager, 
>>> from multiprocessing.managers import BaseManager
>>> import queue
>>> queue = queue.Queue()
>>> class QueueManager(BaseManager): pass
>>> QueueManager.register('get_queue', callable=lambda:queue)
>>> m = QueueManager(address=('', 50000), authkey=b'abracadabra')
>>> s = m.get_server()
>>> s.serve_forever()


queue is used as both module name and variable name, should this be avoided?
History
Date User Action Args
2017-11-16 17:27:041a1a11asetrecipients: + 1a1a11a, docs@python
2017-11-16 17:27:041a1a11asetmessageid: <1510853224.34.0.213398074469.issue32051@psf.upfronthosting.co.za>
2017-11-16 17:27:041a1a11alinkissue32051 messages
2017-11-16 17:27:041a1a11acreate