[Python-checkins] cpython (3.3): Issue #17805: Add AsyncResult alias for ApplyResult
richard.oudkerk
python-checkins at python.org
Mon May 6 13:15:21 CEST 2013
http://hg.python.org/cpython/rev/bb4bb2db6106
changeset: 83640:bb4bb2db6106
branch: 3.3
parent: 83635:fef7f212fe76
user: Richard Oudkerk <shibturn at gmail.com>
date: Mon May 06 12:10:04 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
@@ -572,6 +572,8 @@
self._event.set()
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