On Tuesday, April 29, 2014 3:58:14 PM UTC+1, Simon King wrote: > > Yes there is! The hook is the hash function.
CPython implementation detail and subject to change... really Python makes no guarantee that __hash__() is called at any particular point. Its of course safe to normalize elements there for the hash, but you might be doing it too early then. ... in some cases only a trivial hash function (such as: hash of the > parent) should be used. > or, better, just 1: set([ZZ(1), QQ(1)]) -- You received this message because you are subscribed to the Google Groups "sage-support" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at http://groups.google.com/group/sage-support. For more options, visit https://groups.google.com/d/optout.
