From: Richard Oudkerk Date: Tue, 2 Jul 2013 12:37:43 +0000 (+0100) Subject: Issue #17261: Ensure multiprocessing's proxies use proper address. X-Git-Tag: v3.4.0a1~340^2 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=e3e8bcf3e70d13e1cfa13f8871ff0f14e661610c;p=thirdparty%2FPython%2Fcpython.git Issue #17261: Ensure multiprocessing's proxies use proper address. --- diff --git a/Lib/multiprocessing/managers.py b/Lib/multiprocessing/managers.py index 1ab147e29e6c..96056b04eaae 100644 --- a/Lib/multiprocessing/managers.py +++ b/Lib/multiprocessing/managers.py @@ -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 diff --git a/Misc/NEWS b/Misc/NEWS index c887f358420d..ca83f114f0d9 100644 --- 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.