After p = ObjectProxy(obj) has been constructed, is there any way to retrieve p.__dict__ of the ProxyObject and not the __wrapped__?
I have found that I can set attributes to p and not __wrapped__ if name.startswith('_self_'), but it would be more convenient just to have access to __dict__ itself.
After
p = ObjectProxy(obj)has been constructed, is there any way to retrievep.__dict__of theProxyObjectand not the__wrapped__?I have found that I can set attributes to
pand not__wrapped__ifname.startswith('_self_'), but it would be more convenient just to have access to__dict__itself.