Sorry, cc'ed the wrong list. :-(
------- Forwarded Message

Date:    Wed, 11 Dec 2002 10:29:12 -0500
From:    Guido van Rossum <[EMAIL PROTECTED]>
To:      [EMAIL PROTECTED] (Jeremy Hylton)
cc:      [EMAIL PROTECTED]
Subject: Re: [ZODB-Dev] Fwd: [Zope3-dev] directory hierarchy proposal (Martijn 
          Faassen)

>   SA> Can they be methods on objects, rather than functions in a
>   SA> module?
> 
> Just what I asked Tim :-).  There are as many as six functions --
> difference, union, intersection, weightedUnion, weightedIntersection,
> and multiunion.  The functions operate on sets; they accept any of XY
> family of objects.  So it's not obvious what they would be methods
> of.  Each object -- Set, TreeSet, Bucket, BTree -- could get a copy of
> the code, but that seems a little silly.

Perhaps it could be defined on a common base class?  <duck>

- --Guido van Rossum (home page: http://www.python.org/~guido/)

------- End of Forwarded Message


_______________________________________________
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