[XML-SIG] DOM Nodes: Identity test
Andrew M. Kuchling
akuchlin@cnri.reston.va.us
Fri, 26 Mar 1999 09:43:41 -0500 (EST)
Paul Prescod writes:
>I don't see how the DOM could specify something for such a
>language-specific concept. The "==" syntax has a different behaviour in
>C++, Java and Python. It doesn't even exist in Scheme. Therefore we should
>expect to choose our own behaviour based on Python semantics.
Good point, and one which GvR agreed with when I asked him
about it. I bow to Paul and GvR, therefore; a __cmp__ method is now
checked into the CVS tree.
--
A.M. Kuchling http://starship.python.net/crew/amk/
Andy and Flo live in the past, and when faced with something they don't like
or understand, they do the sensible thing -- ignore it.
-- Reg Smythe