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

index ffe5812b89db1d64507f6516ec0522afd9b2edf5..08d35d868285c151f1c1a1a4b060d9af2db19cf1 100644 (file)
@@ -763,6 +763,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 5c9e3677753806f741cae8f601704cc8e50ba997..405bf5c493e74e57bf2bee2c5346d63ff375a3f4 100644 (file)
--- a/Misc/NEWS
+++ b/Misc/NEWS
@@ -24,6 +24,8 @@ Core and Builtins
 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