[XML-SIG] XPath's reliance on id()

Martijn Faassen faassen@vet.uu.nl
Wed, 13 Mar 2002 12:11:04 +0100

Hi there,

Posting to my own thread; should I assume there are no objections to
this procedure, or just that nobody understood me? :)

In my own copy of PyXML I've replaced id() calls with hash() calls and 
implemented the __hash__ method for ParsedXML (it was already mostly
done). The task remains is to go through the other Python DOMs and implement
a __hash__ there too if it doesn't already exist, which can then simply
call id() on itself (if that's a bug, it's at least equivalent with the
current behavior :).