Thanks for the reply. On Dec 26, 2010, at 03:17 , Volker Braun wrote:
> Python has no "const". You can always manually change the innards of your > class. The set_immutable() is just implemented by hand. Tuples are "really" immutable, correct? Is this possible because the tuple is an internal data type? > One could override __setattr__() to catch assignments to existing > attributes, but I think that is not done anywhere in Sage. Are 'attributes' the same as (or do they include) instance variables? Thanks for the clarification. Justin -- Justin C. Walker, Curmudgeon at Large Institute for the Absorption of Federal Funds ----------- Like the ski resort full of girls hunting for husbands and husbands hunting for girls, the situation is not as symmetrical as it might seem. - Alan MacKay -- -- To post to this group, send an email to sage-devel@googlegroups.com To unsubscribe from this group, send an email to sage-devel+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/sage-devel URL: http://www.sagemath.org