George Sakkis wrote:
Thoughts ?

I liked the idea, then realized that I was misunderstanding it deeply. I would have expected

@setattr('key', "value")
def bar(): pass

make

bar.key == "value"

This was just my intuition from hearing "setattr decorator" and glancing over your email. But deceiving name aside, I think this is a useful decorator. I would just call it @method_of.

- Andrey