[rucksack-devel] inherited slots

Arthur Lemmens alemmens at xs4all.nl
Wed Nov 15 08:31:32 UTC 2006


Cyrus Harmon wrote:

> Ok, so in that case inherited slots from other :metaclass persistent-
> class classes are persistent.

Yes.

> Sure, that would work, but I'm imagining the case where person comes
> from some other library, and I want to make a persistent version of
> it. As it stands now, I have to redefine the slots in persistent-
> person to make them persistent. Why not make all slots persistent
> instead of only the slots that are defined in a class whose metaclass
> is persistent-class?

I think there may be some technical reasons (related to the MOP), but
I'm not sure.  I'll look into this, because I agree with you that this
is something that you may want to do in practice.

Arthur




More information about the rucksack-devel mailing list