[issue32051] Possible issue in multiprocessing doc

2017-11-26 Thread Berker Peksag

Berker Peksag  added the comment:

Thanks!

--
resolution:  -> fixed
stage: patch review -> resolved
status: open -> closed

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue32051] Possible issue in multiprocessing doc

2017-11-26 Thread Berker Peksag

Berker Peksag  added the comment:


New changeset 8a957534f5182022ee8ac2dbaac4b4900dc98159 by Berker Peksag (Miss 
Islington (bot)) in branch '3.6':
bpo-32051: Fix name shadowing in multiprocessing docs (GH-4469)
https://github.com/python/cpython/commit/8a957534f5182022ee8ac2dbaac4b4900dc98159


--

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue32051] Possible issue in multiprocessing doc

2017-11-26 Thread Roundup Robot

Change by Roundup Robot :


--
pull_requests: +4505

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue32051] Possible issue in multiprocessing doc

2017-11-26 Thread Berker Peksag

Berker Peksag  added the comment:


New changeset c172fc5031a4035986bef0b2fcef906706d7abf3 by Berker Peksag (Jason 
Yang) in branch 'master':
bpo-32051: Fix name shadowing in multiprocessing docs (GH-4469)
https://github.com/python/cpython/commit/c172fc5031a4035986bef0b2fcef906706d7abf3


--

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue32051] Possible issue in multiprocessing doc

2017-11-19 Thread Jason

Jason  added the comment:

Hi Berker, 
   I didn't update "following examples with ``('', 5)`` too." because this 
is different than the previous one, this is client connecting to server, so 
hostname cannot be empty string.

--

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue32051] Possible issue in multiprocessing doc

2017-11-19 Thread Jason

Change by Jason :


--
keywords: +patch
pull_requests: +4401
stage: needs patch -> patch review

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue32051] Possible issue in multiprocessing doc

2017-11-16 Thread jason

jason  added the comment:

Thank you for answering!
Yes, I would be very happy to do that, this is going to be my first 
contribution! :)

--

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com




[issue32051] Possible issue in multiprocessing doc

2017-11-16 Thread Berker Peksag

Berker Peksag  added the comment:

The example itself works fine, but I agree that it would be better to use a 
better name. We could replace ``('foo.bar.org', 5)`` in the following 
examples with ``('', 5)`` too.

Would you like to send a PR? The documentation file is located at 
Doc/library/multiprocessing.rst.

--
keywords: +easy
nosy: +berker.peksag
stage:  -> needs patch
type: enhancement -> behavior
versions: +Python 3.7

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue32051] Possible issue in multiprocessing doc

2017-11-16 Thread jason

New submission from jason :

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=('', 5), authkey=b'abracadabra')
>>> s = m.get_server()
>>> s.serve_forever()


queue is used as both module name and variable name, should this be avoided?

--
assignee: docs@python
components: Documentation
messages: 306389
nosy: 1a1a11a, docs@python
priority: normal
severity: normal
status: open
title: Possible issue in multiprocessing doc
type: enhancement
versions: Python 3.6

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com