Re: [sage-devel] Surprising behaviour of Set

2017-06-25 Thread 'Martin R' via sage-devel
This is now https://trac.sagemath.org/ticket/23324 Am Sonntag, 25. Juni 2017 19:47:36 UTC+2 schrieb vdelecroix: > > 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' w

Re: [sage-devel] Surprising behaviour of Set

2017-06-25 Thread Vincent Delecroix
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