mirror of
https://github.com/python/cpython.git
synced 2025-08-23 10:16:01 +00:00
Issue #17261: Ensure multiprocessing's proxies use proper address.
This commit is contained in:
parent
d7d3f376dd
commit
e3e8bcf3e7
2 changed files with 3 additions and 0 deletions
|
@ -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
|
||||||
|
|
|
@ -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.
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue