[Zope3-dev] MessageID as rocks?

Barry Warsaw barry@python.org
17 Apr 2003 11:29:33 -0400


On Wed, 2003-04-16 at 15:39, Steve Alexander wrote:

> > Sound right?
> 
> Yes. You could also make MessageIDs implement IMessageID, and you could 
> do an implements check on the object.
> 
> Or, you could call removeAllProxies from zope.proxy.introspection on the 
> thing that might be a messageID.
> 
> Or, perhaps you can make messageids immutable by using only slots for 
> its slots, storing only simple types in its slots, and providing a 
> __setattr__ that doesn't. Or something like that.

Thanks for the suggestions.  I think for now I'll stick with what we've
got ('cause it works now :), but it may be worth addressing again later.

-Barry