It's currently apparently not an error to hash p-adics, but they aren't 
really, because elements with distinct hash can compare equal:

sage: Qp=pAdicField(3)
sage: a=Qp(1000)
sage: b=a+O(Qp(3)^4)
sage: hash(a) == hash(b)
False
sage: a==b
True

As a result, p-adics will not behave properly when hashed. See

https://trac.sagemath.org/ticket/11895
https://trac.sagemath.org/ticket/20246

for some failed attempts to resolve this issue

-- 
You received this message because you are subscribed to the Google Groups 
"sage-devel" 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 https://groups.google.com/group/sage-devel.
For more options, visit https://groups.google.com/d/optout.

Reply via email to