[Zope-dev] Problems writing ContainedProxy Python version
    Stephan Richter 
    stephan.richter at gmail.com
       
    Fri Mar 15 01:19:21 UTC 2013
    
    
  
Hi everyone,
in an effort to bring zope.container to PyPy, I was trying to port 
zope.container. Unfortunately, it defines a ContainedProxy, which inherits from 
zope.security's PyProxyBase and persistent's ProxyPy. 
Since both of those proxies have slots defined, they cannot both be base 
classes for the ContainedProxy. So what should I do? I could split the 
existing classes like so, but it seems ugly:
class BaseProxyPy(object):
    ...
class ProxyPy(BaseProxyPy)
    __slots__ = ('_wrapped',)
Jim, Tres, any ideas/comments?
Regards,
Stephan
-- 
Entrepreneur and Software Geek
Google me. "Zope Stephan Richter"
    
    
More information about the Zope-Dev
mailing list