]> granicus.if.org Git - python/commitdiff
Issue #17261: Ensure multiprocessing's proxies use proper address.
authorRichard Oudkerk <shibturn@gmail.com>
Tue, 2 Jul 2013 12:37:43 +0000 (13:37 +0100)
committerRichard Oudkerk <shibturn@gmail.com>
Tue, 2 Jul 2013 12:37:43 +0000 (13:37 +0100)
Lib/multiprocessing/managers.py
Misc/NEWS

index 1ab147e29e6ca10d95cc85fbbced067a6b3bba1c..96056b04eaae4c094add43aa8b27a18823f1fb3f 100644 (file)
@@ -731,6 +731,7 @@ class BaseProxy(object):
         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
index c887f358420de30168ce77bf240802b606e9ef63..ca83f114f0d955f16cec6327ad57cfe38174a89a 100644 (file)
--- a/Misc/NEWS
+++ b/Misc/NEWS
@@ -41,6 +41,8 @@ Core and Builtins
 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.