Alan Isaac wrote:
> 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
> 
> 

My understanding of "Pythonic design" is not to worry about it.
If users want to set attributes that won't accomplish anything
productive (within your class) let them.

-Larry
-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to