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

This commit is contained in:
Richard Oudkerk 2013-07-02 13:37:43 +01:00
parent d7d3f376dd
commit e3e8bcf3e7
2 changed files with 3 additions and 0 deletions

View File

@ -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

View File

@ -41,6 +41,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.