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

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


http://hg.python.org/cpython/rev/7387b884f833
changeset:   84430:7387b884f833
parent:      84427:d0b48efac9de
parent:      84429:be4b9e677187
user:        Richard Oudkerk <shibturn at gmail.com>
date:        Tue Jul 02 13:38:58 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
@@ -731,6 +731,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
@@ -138,6 +138,8 @@
 Library
 -------
 
+- Issue #17261: Ensure multiprocessing's proxies use proper address.
+
 - Issue #18343: faulthandler.register() now keeps the previous signal handler
   when the function is called twice, so faulthandler.unregister() restores
   correctly the original signal handler.

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


More information about the Python-checkins mailing list