[issue12709] In multiprocessing, error_callback isn't documented for map_async

New submission from Hynek Schlawack <hs@ox.cx>: While working on #12708 , I noticed that the error_callback argument of multiprocessing.Pool.map_async() isn't documented (callback is). ---------- assignee: docs@python components: Documentation messages: 141763 nosy: docs@python, hynek priority: normal severity: normal status: open title: In multiprocessing, error_callback isn't documented for map_async type: behavior versions: Python 3.4 _______________________________________ Python tracker <report@bugs.python.org> <http://bugs.python.org/issue12709> _______________________________________

Sandro Tosi <sandro.tosi@gmail.com> added the comment: Would you like to provide a doc patch about it? Thanks in advance ---------- nosy: +sandro.tosi stage: -> needs patch versions: +Python 2.7, Python 3.2, Python 3.3 -Python 3.4 _______________________________________ Python tracker <report@bugs.python.org> <http://bugs.python.org/issue12709> _______________________________________

Hynek Schlawack <hs@ox.cx> added the comment: Yeah, if my 3G hadn't failed on me, it would have been already here. :) As a matter of fact, the argument is discussed in the body of the doc, it just has been omitted in the method definition, so the patch is trivial. ---------- keywords: +patch Added file: http://bugs.python.org/file22861/map_async-doc-fix.diff _______________________________________ Python tracker <report@bugs.python.org> <http://bugs.python.org/issue12709> _______________________________________

Roundup Robot <devnull@psf.upfronthosting.co.za> added the comment: New changeset b2835b8412e5 by Sandro Tosi in branch '2.7': #12709: add error_callback argument to map_async documentation http://hg.python.org/cpython/rev/b2835b8412e5 New changeset 41b816853819 by Sandro Tosi in branch '3.2': #12709: add error_callback argument to map_async documentation http://hg.python.org/cpython/rev/41b816853819 New changeset 0c922e7d26e1 by Sandro Tosi in branch 'default': #12709: merge with 3.2 http://hg.python.org/cpython/rev/0c922e7d26e1 ---------- nosy: +python-dev _______________________________________ Python tracker <report@bugs.python.org> <http://bugs.python.org/issue12709> _______________________________________

Sandro Tosi <sandro.tosi@gmail.com> added the comment: Hynek, thanks for your contribution to Python! ---------- resolution: -> fixed stage: needs patch -> committed/rejected status: open -> closed _______________________________________ Python tracker <report@bugs.python.org> <http://bugs.python.org/issue12709> _______________________________________

Petri Lehtinen <petri@digip.org> added the comment: Sandro: The error_callback parameter is not available on 2.7. See #13147. ---------- nosy: +petri.lehtinen _______________________________________ Python tracker <report@bugs.python.org> <http://bugs.python.org/issue12709> _______________________________________
participants (4)
-
Hynek Schlawack
-
Petri Lehtinen
-
Roundup Robot
-
Sandro Tosi