On 25/06/2017 19:10, 'Martin R' via sage-devel wrote:
I just noticed that Set([[], []]).cardinality() yields 2. In earlier
versions, a TypeError: unhashable type: 'list' was raised.
I think the behaviour was modified
in https://trac.sagemath.org/ticket/22597.
Is this intended? It seems to me that it would be safer if cardinality
would raise an error...
I hope it was not intentional. It looks seriously broken. Did you
already opened a ticket?
--
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 https://groups.google.com/group/sage-devel.
For more options, visit https://groups.google.com/d/optout.