New submission from Takafumi Arakaki:
Document mentions AsyncResult but there is no such class.
http://docs.python.org/2/library/multiprocessing.html#multiprocessing.pool.AsyncResult
You can check it by simply running:
python -c 'from multiprocessing.pool import AsyncResult'
I think it means ApplyResult so I made a patch (attached).
Note that there managers.py also uses name 'AsyncResult':
% hg grep AsyncResult
Doc/library/multiprocessing.rst:83232:.. class:: AsyncResult
Lib/multiprocessing/managers.py:81039: 'apply_async': 'AsyncResult',
Lib/multiprocessing/managers.py:81039: 'map_async': 'AsyncResult',
Lib/multiprocessing/managers.py:81039: 'starmap_async': 'AsyncResult',
Lib/multiprocessing/managers.py:81039:SyncManager.register('AsyncResult',
create_method=False)
Probably renaming them would be better?
----------
assignee: docs@python
components: Documentation
files: ApplyResult.patch
keywords: patch
messages: 187466
nosy: docs@python, tkf
priority: normal
severity: normal
status: open
title: No such class: multiprocessing.pool.AsyncResult
versions: Python 2.6, Python 2.7, Python 3.1, Python 3.2, Python 3.3, Python
3.4, Python 3.5
Added file: http://bugs.python.org/file29954/ApplyResult.patch
_______________________________________
Python tracker <[email protected]>
<http://bugs.python.org/issue17805>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe:
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com