bpo-30256: Add test for nested queues by finefoot · Pull Request #16341 · python/cpython
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` '''
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