Making immutable instances
Mike Meyer
mwm at mired.org
Thu Dec 1 21:54:49 EST 2005
More information about the Python-list mailing list
Thu Dec 1 21:54:49 EST 2005
- Previous message (by thread): Making immutable instances
- Next message (by thread): Making immutable instances
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Ben Finney <bignose+hates-spam at benfinney.id.au> writes: > > "Since the values of an enumeration are directly reflected in the > values and attributes, Enum instances are immutable to preserve > this relationship" This justifies making the attributes immutable. But that's old hat - I had that use case last year. It doesn't justify making the instances immutable. Or if it does, I missed it. thanks, <mike -- Mike Meyer <mwm at mired.org> http://www.mired.org/home/mwm/ Independent WWW/Perforce/FreeBSD/Unix consultant, email for more information.
- Previous message (by thread): Making immutable instances
- Next message (by thread): Making immutable instances
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
More information about the Python-list mailing list