I don't have an answer, but want to point out that making the hash equal 
also means that they are considered identical for caching purposes. Whereas 
with different hashes they are only identical if a hash collision happens 
(unlikely, but not exceedingly so). 

On Monday, June 9, 2014 12:54:56 AM UTC+1, vdelecroix wrote:
>
> sage: {3, AA(3)} 
> {3, 3} 


IMHO you should never put sage objects with different parents into an 
associative container. Even if were to "work" (i.e. construct a 
single-element set), does that element have a is_prime() method or not?



-- 
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 sage-devel+unsubscr...@googlegroups.com.
To post to this group, send email to sage-devel@googlegroups.com.
Visit this group at http://groups.google.com/group/sage-devel.
For more options, visit https://groups.google.com/d/optout.

Reply via email to