Problems writing ContainedProxy Python version
15 Mar
2013
15 Mar
'13
1:19 a.m.
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"
4787
Age (days ago)
4787
Last active (days ago)
0 comments
1 participants
participants (1)
-
Stephan Richter