design question: no new attributes

Alan Isaac aisaac at american.edu
Mon Feb 26 16:48:52 EST 2007


I have a class whose instances should only receive attribute
assignments for attributes that were created at inititialization.
If slots are not appropriate, what is the Pythonic design for this?

Thanks,
Alan Isaac





More information about the Python-list mailing list