[Python-checkins] cpython (2.7): Issue #17805: Add AsyncResult alias for ApplyResult
richard.oudkerk
python-checkins at python.org
Mon May 6 13:15:20 CEST 2013
http://hg.python.org/cpython/rev/2684176519ef
changeset: 83639:2684176519ef
branch: 2.7
parent: 83637:b1abc5800e2b
user: Richard Oudkerk <shibturn at gmail.com>
date: Mon May 06 12:04:28 2013 +0100
summary:
Issue #17805: Add AsyncResult alias for ApplyResult
files:
Lib/multiprocessing/pool.py | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
diff --git a/Lib/multiprocessing/pool.py b/Lib/multiprocessing/pool.py
--- a/Lib/multiprocessing/pool.py
+++ b/Lib/multiprocessing/pool.py
@@ -565,6 +565,8 @@
self._cond.release()
del self._cache[self._job]
+AsyncResult = ApplyResult # create alias -- see #17805
+
#
# Class whose instances are returned by `Pool.map_async()`
#
--
Repository URL: http://hg.python.org/cpython
More information about the Python-checkins
mailing list