Problems writing ContainedProxy Python version
Stephan Richter <[email protected]>
| Newsgroups | gmane.comp.web.zope.devel |
|---|---|
| Message-ID | <10570607.xXrEG7Nsb7@einstein> |
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"
_______________________________________________
Zope-Dev maillist - [email protected]
https://mail.zope.org/mailman/listinfo/zope-dev
** No cross posts or HTML encoding! **
(Related lists -
https://mail.zope.org/mailman/listinfo/zope-announce
https://mail.zope.org/mailman/listinfo/zope )