[issue17805] No such class: multiprocessing.pool.AsyncResult

2020-07-03 Thread Volker Weißmann

Change by Volker Weißmann :


--
pull_requests: +20440
pull_request: https://github.com/python/cpython/pull/21291

___
Python tracker 

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



[issue17805] No such class: multiprocessing.pool.AsyncResult

2020-07-02 Thread Volker Weißmann

Volker Weißmann  added the comment:

Tomorror, or in a few days, I'm gonna create a pullrequest for it.

--

___
Python tracker 

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



[issue17805] No such class: multiprocessing.pool.AsyncResult

2020-07-02 Thread Rémi Lapeyre

Rémi Lapeyre  added the comment:

Hi Volker Weißmann, this issue has been closed for 7 years, if you want to 
propose a change, please open a new issue.

--
nosy: +remi.lapeyre

___
Python tracker 

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



[issue17805] No such class: multiprocessing.pool.AsyncResult

2020-07-02 Thread Volker Weißmann

Volker Weißmann  added the comment:

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

--
nosy: +Volker Weißmann
versions: +Python 3.10, Python 3.5, Python 3.6, Python 3.7, Python 3.8, Python 
3.9 -Python 2.7, Python 3.3, Python 3.4

___
Python tracker 

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



[issue17805] No such class: multiprocessing.pool.AsyncResult

2013-05-06 Thread Richard Oudkerk

Changes by Richard Oudkerk :


--
resolution:  -> fixed
stage:  -> committed/rejected
status: open -> closed

___
Python tracker 

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



[issue17805] No such class: multiprocessing.pool.AsyncResult

2013-05-06 Thread Roundup Robot

Roundup Robot added the comment:

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

--
nosy: +python-dev

___
Python tracker 

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



[issue17805] No such class: multiprocessing.pool.AsyncResult

2013-05-02 Thread Richard Oudkerk

Richard Oudkerk added the comment:

It might be simplest to make the implementation match the docs by making 
AsyncResult an alias for ApplyResult.

--

___
Python tracker 

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



[issue17805] No such class: multiprocessing.pool.AsyncResult

2013-04-20 Thread Ned Deily

Changes by Ned Deily :


--
nosy: +sbt
versions:  -Python 2.6, Python 3.1, Python 3.2, Python 3.5

___
Python tracker 

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



[issue17805] No such class: multiprocessing.pool.AsyncResult

2013-04-20 Thread Takafumi Arakaki

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 

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