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.
Created on 2013年04月20日 21:44 by tkf, last changed 2022年04月11日 14:57 by admin. This issue is now closed.
| Files | ||||
|---|---|---|---|---|
| File name | Uploaded | Description | Edit | |
| ApplyResult.patch | tkf, 2013年04月20日 21:44 | |||
| Pull Requests | |||
|---|---|---|---|
| URL | Status | Linked | Edit |
| PR 21291 | merged | Volker Weißmann, 2020年07月03日 11:31 | |
| Messages (6) | |||
|---|---|---|---|
| msg187466 - (view) | Author: Takafumi Arakaki (tkf) | Date: 2013年04月20日 21:44 | |
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? |
|||
| msg188265 - (view) | Author: Richard Oudkerk (sbt) * (Python committer) | Date: 2013年05月02日 13:26 | |
It might be simplest to make the implementation match the docs by making AsyncResult an alias for ApplyResult. |
|||
| msg188510 - (view) | Author: Roundup Robot (python-dev) (Python triager) | Date: 2013年05月06日 11:15 | |
New changeset 2684176519ef by Richard Oudkerk in branch '2.7': Issue #17805: Add AsyncResult alias for ApplyResult http://hg.python.org/cpython/rev/2684176519ef New changeset bb4bb2db6106 by Richard Oudkerk in branch '3.3': Issue #17805: Add AsyncResult alias for ApplyResult http://hg.python.org/cpython/rev/bb4bb2db6106 |
|||
| msg372889 - (view) | Author: Volker Weißmann (Volker Weißmann) * | Date: 2020年07月02日 22:10 | |
The documentation here: https://docs.python.org/3/library/multiprocessing.html#module-multiprocessing.pool says that apply_async is "A variant of the apply() method which returns a result object." You should replace "a result object" with "a AsyncResult/ApplyResult object" and a link to https://docs.python.org/2/library/multiprocessing.html#multiprocessing.pool.AsyncResult |
|||
| msg372891 - (view) | Author: Rémi Lapeyre (remi.lapeyre) * | Date: 2020年07月02日 22:12 | |
Hi Volker Weißmann, this issue has been closed for 7 years, if you want to propose a change, please open a new issue. |
|||
| msg372893 - (view) | Author: Volker Weißmann (Volker Weißmann) * | Date: 2020年07月02日 23:39 | |
Tomorror, or in a few days, I'm gonna create a pullrequest for it. |
|||
| History | |||
|---|---|---|---|
| Date | User | Action | Args |
| 2022年04月11日 14:57:44 | admin | set | github: 62005 |
| 2020年07月03日 11:31:44 | Volker Weißmann | set | pull_requests: + pull_request20440 |
| 2020年07月02日 23:39:59 | Volker Weißmann | set | messages: + msg372893 |
| 2020年07月02日 22:12:36 | remi.lapeyre | set | nosy:
+ remi.lapeyre messages: + msg372891 |
| 2020年07月02日 22:10:37 | Volker Weißmann | set | nosy:
+ Volker Weißmann messages: + msg372889 versions: + Python 3.5, Python 3.6, Python 3.7, Python 3.8, Python 3.9, Python 3.10, - Python 2.7, Python 3.3, Python 3.4 |
| 2013年05月06日 11:27:26 | sbt | set | status: open -> closed resolution: fixed stage: resolved |
| 2013年05月06日 11:15:19 | python-dev | set | nosy:
+ python-dev messages: + msg188510 |
| 2013年05月02日 13:26:29 | sbt | set | messages: + msg188265 |
| 2013年04月20日 22:07:18 | ned.deily | set | nosy:
+ sbt versions: - Python 2.6, Python 3.1, Python 3.2, Python 3.5 |
| 2013年04月20日 21:44:09 | tkf | create | |