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

_______________________________________________
Zope-Dev maillist  -  [EMAIL PROTECTED]
http://lists.zope.org/mailman/listinfo/zope-dev
**  No cross posts or HTML encoding!  **
(Related lists - 
 http://lists.zope.org/mailman/listinfo/zope-announce
 http://lists.zope.org/mailman/listinfo/zope )

Reply via email to