[Zope-dev] Re: compiling intSet.c on Zope 2.8.8
Dieter Maurer
dieter at handshake.de
Fri Aug 10 13:46:41 EDT 2007
Chris Withers wrote at 2007-8-10 07:38 +0100:
> ...
>I'm thinking something along the lines of create intSet.py something
>like as follows and putting it somewhere on the PYTHONPATH:
>
>class intSet(Persistent):
>
> def __setstate__(self,...):
> ...
>
>Would that work?
No.
Both "Persistent" and "intSet" come with their own C level
attributes. Therefore, Python does not allow them to be combined
through subclassing.
--
Dieter
More information about the Zope-Dev
mailing list