[Zope-dev] __cmp__ in python classes?
Benno Rice
benno@netizen.com.au
Fri, 17 Dec 1999 10:58:58 +1100
On Thu, Dec 16, 1999 at 08:42:36PM +0000, Jim Fulton wrote:
> Benno Rice wrote:
[snip]
> > Were you able to find the patch?
>
> No.
>
> I just checked in a more ambitious patch that:
>
> - Implements the numeric protocol. This means that
> wrapped numeric objects should work.
>
> - Fixed comparison betwee wrapped and unwrapped
> objects.
>
> - Pass wrapped objects to comparison operators,
> so that acquired data can be used in comparisons. :)
>
> I also fixed a bug in some numeric coersion code in
> ExtensionClass.
Yay! Cool. Thanks. =)
> So two C files were updated, ExtensionClass.c and
> Acquisition.c. You'll need to rebuild the corresponding
> extensions (by running make in lib/python) after checking
> these out.
Noted.
--
Benno Rice "No, no. We're *sweet* and
XNFP Aries Dark Subculture- *innocent* evil bastards."
friendly Internet Geek
benno@netizen.com.au "Defend your joy"