Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

Currently in Sage, SetPartitions are not proper Parent and uses the old deprecated CombinatorialClass framework. This framework was writen before UniqueRepresentation. As a consequence

sage: isinstance(SetPartitions(5), UniqueRepresentation)

False

We are currently in the process of removing CombinatorialClass and cleaning the code depending of it. See for example trac ticket #13552, #12913, #9265. Nothing is currently done on set partitions.