[Zope-dev] NASTY error. Why?

Steve Alexander steve@cat-box.net
Mon, 10 Jul 2000 18:35:12 +0100


Chris Withers wrote:
> 
> Chris Withers wrote:
> > Can someone please tell me why folder.id is a method and
> > everything-else.id is a string?
> 
> Sorry, that should be folder.id is a string and everything-else.id is a
> method.

Interesting commentary from the Interfaces Wiki:

http://www.zope.org/Members/michel/Projects/Interfaces/ObjectManagerItem

"""Some old objects provide id methods that return ids. This practice
should be avoided for new objects. We can't change the old objects for
backward compatability reasons. Maybe we should fix this in Zope 3.0."""

--
Steve Alexander
Software Engineer
Cat-Box limited
http://www.cat-box.net