Barry Warsaw writes: > >>> setattr(f, 'class', 'evil') > You just have to use "weird" syntax to set and get the values of those > attributes. ;) So much for consistency. I don't see this as anything but an optimization of dict. You could easily encapsulate the syntax above in a class, no?