Yes, I should have mentioned my question on ask.sagemath.org.

Jason, Your answer there seems to work as required, thanks.

>
> I've responded there as well, with what I hope supplements my answer
> above.  Please ask for more detail if you need it--it would be very good
> to improve the documentation of this.

Your answer uses UniqueRepresentation and Nicolas suggested I
overwrite
__eq__ __ne__ __hash__ For the record this is needed because instances
of the class need to be immutable. This can't actually be achieved in
Python.

If you document this (and I hope you do) could you please discuss the
issue
of immutability?

-- 
You received this message because you are subscribed to the Google Groups 
"sage-combinat-devel" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/sage-combinat-devel?hl=en.

Reply via email to