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

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


http://hg.python.org/cpython/rev/be4b9e677187
changeset:   84429:be4b9e677187
branch:      3.3
parent:      84426:9746f217a270
user:        Richard Oudkerk <shibturn at gmail.com>
date:        Tue Jul 02 13:37: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
@@ -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
@@ -41,6 +41,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