Issue 3256: Multiprocessing docs are not 3.0-ready (original) (raw)

Created on 2008-07-02 13:32 by mishok13, last changed 2022-04-11 14:56 by admin. This issue is now closed.

Files
File name Uploaded Description Edit
examples.diff mishok13,2008-07-07 22:20 Doc/includes/mp_* examples
issue3256.multiprocessing.rst.diff mishok13,2008-07-23 15:33
Messages (11)
msg69090 - (view) Author: Andrii V. Mishkovskyi (mishok13) Date: 2008-07-02 13:32
Multiprocessing docs contain examples, that are not valid py3k code, mostly because of print used as a statement. Example (taken from multiprocessing.rst): from multiprocessing import Process def f(name): print 'hello', name if __name__ == '__main__': p = Process(target=f, args=('bob',)) p.start() p.join() If no one is working on this already, than I'll start fixing this and will present a patch in 2 or 3 days.
msg69091 - (view) Author: Jesse Noller (jnoller) * (Python committer) Date: 2008-07-02 13:42
If you're willing to make the patch - I can review and submit. I appreciate it
msg69401 - (view) Author: Andrii V. Mishkovskyi (mishok13) Date: 2008-07-07 22:20
So, after 5 days of silence I present my current status on the patch. This patch fixes Doc/includes/mp_*.py examples, except for the fact that I couldn't make mp_distributing.py work, but I'm still working on this issue.
msg69402 - (view) Author: Andrii V. Mishkovskyi (mishok13) Date: 2008-07-07 22:23
And this patch is for Doc/library/multiprocessing.rst. Still, there are lot of issues, and as you none of you (Jesse or Richard) answered my email, I'll post them tomorrow here. Right now, the patch. :)
msg69403 - (view) Author: Jesse Noller (jnoller) * (Python committer) Date: 2008-07-07 22:40
Thanks - sorry I didn't reply to the mail yet, had to deal with some other stuff first, I should be freed up tonight
msg69417 - (view) Author: Andrii V. Mishkovskyi (mishok13) Date: 2008-07-08 07:27
OK, then ignore the previous email, I'll send you a new one, with updated questions.
msg70175 - (view) Author: Andrii V. Mishkovskyi (mishok13) Date: 2008-07-23 15:41
Here is the updated version of multiprocessing.rst patch. Not much has changes, as you can see (if you've seen the previous version, of course ;) ). I have only one question left about multiprocessing.rst, it's about 'allow_connection_pickling' function -- should documentation cover this function or just leave it as it is? The only issue I still have is mp_distributing.py example, which is not properly documented. Jesse, I think you should review both patches and leave this issue open until mp_distributing.py is documented. If you have any questions -- ping me on #python-dev.
msg70215 - (view) Author: Andrii V. Mishkovskyi (mishok13) Date: 2008-07-24 16:57
btw, some of the docstrings are also outdated, e.g. Pool.imap, Pool.map, etc. Should I handle this one too?
msg70217 - (view) Author: Jesse Noller (jnoller) * (Python committer) Date: 2008-07-24 17:26
that's your call Andrii
msg70224 - (view) Author: Andrii V. Mishkovskyi (mishok13) Date: 2008-07-24 20:48
OK, I'll work on this too. :) Patch should be ready by Monday.
msg76998 - (view) Author: Georg Brandl (georg.brandl) * (Python committer) Date: 2008-12-05 10:13
The docstrings are now fixed too.
History
Date User Action Args
2022-04-11 14:56:36 admin set github: 47506
2008-12-05 10:13:20 georg.brandl set status: open -> closedresolution: fixedmessages: +
2008-07-24 20:48:28 mishok13 set messages: +
2008-07-24 17:26:33 jnoller set messages: +
2008-07-24 16:57:25 mishok13 set messages: +
2008-07-23 15:43:38 mishok13 set messages: +
2008-07-23 15:34:05 mishok13 set files: + issue3256.multiprocessing.rst.diff
2008-07-23 15:33:27 mishok13 set files: - multiprocessing.rst.diff
2008-07-08 07:27:56 mishok13 set messages: +
2008-07-07 22:40:03 jnoller set messages: +
2008-07-07 22:23:20 mishok13 set files: + multiprocessing.rst.diffmessages: +
2008-07-07 22:20:42 mishok13 set files: + examples.diffkeywords: + patchmessages: +
2008-07-02 14:10:31 benjamin.peterson set assignee: georg.brandl -> jnoller
2008-07-02 13:42:32 jnoller set messages: +
2008-07-02 13:32:18 mishok13 create