bpo-30256: pass all BaseProxy arguments through AutoProxy
This commit is contained in:
parent
bfd0c963d8
commit
2cc589434d
|
@ -958,7 +958,7 @@ def MakeProxyType(name, exposed, _cache={}):
|
|||
|
||||
|
||||
def AutoProxy(token, serializer, manager=None, authkey=None,
|
||||
exposed=None, incref=True):
|
||||
exposed=None, incref=True, manager_owned=False):
|
||||
'''
|
||||
Return an auto-proxy for `token`
|
||||
'''
|
||||
|
@ -978,7 +978,7 @@ def AutoProxy(token, serializer, manager=None, authkey=None,
|
|||
|
||||
ProxyType = MakeProxyType('AutoProxy[%s]' % token.typeid, exposed)
|
||||
proxy = ProxyType(token, serializer, manager=manager, authkey=authkey,
|
||||
incref=incref)
|
||||
incref=incref, manager_owned=manager_owned)
|
||||
proxy._isauto = True
|
||||
return proxy
|
||||
|
||||
|
|
|
@ -0,0 +1 @@
|
|||
Pass multiprocessing BaseProxy argument `manager_owned` through AutoProxy
|
Loading…
Reference in New Issue