[Tutor] Using __setattr__
Sun Apr 20 04:55:02 2003
> > I'm trying to use __setattr__ in a class I"m writing, but have been
> > having problems getting it to work.
Out of curiosity: are you using __setattr__ as an experiment with the
language feature, or is there a particular bit of your code that can be
improved if you use __setattr__? If it's the second reason, there might
be an easier way to tackle what you're trying to do. Hmmm... can you tell
us more about the class that you're writing?