Skip to content

Commit 1e462fe

Browse files
committed
Issue python#17261: Ensure multiprocessing's proxies use proper address.
1 parent 4bc130c commit 1e462fe

2 files changed

Lines changed: 3 additions & 0 deletions

File tree

‎Lib/multiprocessing/managers.py‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -763,6 +763,7 @@ def _callmethod(self, methodname, args=(), kwds={}):
763763
elif kind == '#PROXY':
764764
exposed, token = result
765765
proxytype = self._manager._registry[token.typeid][-1]
766+
token.address = self._token.address
766767
proxy = proxytype(
767768
token, self._serializer, manager=self._manager,
768769
authkey=self._authkey, exposed=exposed

‎Misc/NEWS‎

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,8 @@ Core and Builtins
2424
Library
2525
-------
2626

27+
- Issue #17261: Ensure multiprocessing's proxies use proper address.
28+
2729
- Issue #17097: Make multiprocessing ignore EINTR.
2830

2931
- Issue #18155: The csv module now correctly handles csv files that use

0 commit comments

Comments
 (0)