Python has no "const". You can always manually change the innards of your class. The set_immutable() is just implemented by hand.
One could override __setattr__() to catch assignments to existing attributes, but I think that is not done anywhere in Sage. -- To post to this group, send an email to [email protected] To unsubscribe from this group, send an email to [email protected] For more options, visit this group at http://groups.google.com/group/sage-devel URL: http://www.sagemath.org
