[Python-checkins] cpython (2.7): Issue #17261: Ensure multiprocessing's proxies use proper address.

richard.oudkerk python-checkins at python.org
Tue Jul 2 14:41:05 CEST 2013


http://hg.python.org/cpython/rev/20b59fec1123
changeset:   84428:20b59fec1123
branch:      2.7
parent:      84425:f35401dba89f
user:        Richard Oudkerk <shibturn at gmail.com>
date:        Tue Jul 02 13:31:43 2013 +0100
summary:
  Issue #17261: Ensure multiprocessing's proxies use proper address.

files:
  Lib/multiprocessing/managers.py |  1 +
  Misc/NEWS                       |  2 ++
  2 files changed, 3 insertions(+), 0 deletions(-)


diff --git a/Lib/multiprocessing/managers.py b/Lib/multiprocessing/managers.py
--- a/Lib/multiprocessing/managers.py
+++ b/Lib/multiprocessing/managers.py
@@ -763,6 +763,7 @@
         elif kind == '#PROXY':
             exposed, token = result
             proxytype = self._manager._registry[token.typeid][-1]
+            token.address = self._token.address
             proxy = proxytype(
                 token, self._serializer, manager=self._manager,
                 authkey=self._authkey, exposed=exposed
diff --git a/Misc/NEWS b/Misc/NEWS
--- a/Misc/NEWS
+++ b/Misc/NEWS
@@ -24,6 +24,8 @@
 Library
 -------
 
+- Issue #17261: Ensure multiprocessing's proxies use proper address.
+
 - Issue #17097: Make multiprocessing ignore EINTR.
 
 - Issue #18155: The csv module now correctly handles csv files that use

-- 
Repository URL: http://hg.python.org/cpython


More information about the Python-checkins mailing list