Kaydet (Commit) 1b6348e0 authored tarafından Richard Oudkerk's avatar Richard Oudkerk

Issue #17261: Ensure multiprocessing's proxies use proper address.

...@@ -731,6 +731,7 @@ class BaseProxy(object): ...@@ -731,6 +731,7 @@ class BaseProxy(object):
elif kind == '#PROXY': elif kind == '#PROXY':
exposed, token = result exposed, token = result
proxytype = self._manager._registry[token.typeid][-1] proxytype = self._manager._registry[token.typeid][-1]
token.address = self._token.address
proxy = proxytype( proxy = proxytype(
token, self._serializer, manager=self._manager, token, self._serializer, manager=self._manager,
authkey=self._authkey, exposed=exposed authkey=self._authkey, exposed=exposed
......
...@@ -138,6 +138,8 @@ Core and Builtins ...@@ -138,6 +138,8 @@ Core and Builtins
Library Library
------- -------
- Issue #17261: Ensure multiprocessing's proxies use proper address.
- Issue #18343: faulthandler.register() now keeps the previous signal handler - Issue #18343: faulthandler.register() now keeps the previous signal handler
when the function is called twice, so faulthandler.unregister() restores when the function is called twice, so faulthandler.unregister() restores
correctly the original signal handler. correctly the original signal handler.
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment