Comment #11 on issue 1973 by Vinzent.Steinberg: hash(Integer) should return the int
http://code.google.com/p/sympy/issues/detail?id=1973
Would it be that better to have e.g. hash(-1) == 0xAFFEBACD?
In my opinion yes, because similar objects should have different hashes. (I know that similar objects have similar hashes in Python, however hash collisions of similar objects should be avoided.)
-- You received this message because you are subscribed to the Google Groups "sympy-issues" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/sympy-issues?hl=en.
