summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRichard Oudkerk <shibturn@gmail.com>2013-07-02 12:38:58 (GMT)
committerRichard Oudkerk <shibturn@gmail.com>2013-07-02 12:38:58 (GMT)
commit1b6348e0840a0f5832486c85145adaac26f7e9f7 (patch)
treecc54f1af176df48b22d56eeac5ce2d8dbbf3c1d7
parent771b961d4ea45889606992112002c6de0b5c358b (diff)
parente3e8bcf3e70d13e1cfa13f8871ff0f14e661610c (diff)
downloadcpython-1b6348e0840a0f5832486c85145adaac26f7e9f7.zip
cpython-1b6348e0840a0f5832486c85145adaac26f7e9f7.tar.gz
cpython-1b6348e0840a0f5832486c85145adaac26f7e9f7.tar.bz2
Issue #17261: Ensure multiprocessing's proxies use proper address.
-rw-r--r--Lib/multiprocessing/managers.py1
-rw-r--r--Misc/NEWS2
2 files changed, 3 insertions, 0 deletions
diff --git a/Lib/multiprocessing/managers.py b/Lib/multiprocessing/managers.py
index 30ef771..36cd650 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 cf253b3..822afb3 100644
--- a/Misc/NEWS
+++ b/Misc/NEWS
@@ -138,6 +138,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.