<div class="gmail_quote">George Sakkis wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;"><div id=":165" class="ii gt">Thoughts ?<br></div></blockquote></div><div>

<br></div><div>I liked the idea, then realized that I was misunderstanding it deeply. I would have expected</div><div><br></div><blockquote class="webkit-indent-blockquote" style="margin: 0 0 0 40px; border: none; padding: 0px;">

<div><font class="Apple-style-span" face="'courier new', monospace">@setattr('key', "value")</font></div><div><font class="Apple-style-span" face="'courier new', monospace">def bar(): pass</font></div>

</blockquote><div><br></div><div>make</div><div><br></div><blockquote class="webkit-indent-blockquote" style="margin: 0 0 0 40px; border: none; padding: 0px;"><div><font class="Apple-style-span" face="'courier new', monospace">bar.key == "value"</font></div>

</blockquote><div><br></div><div>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.</div>

<div><br></div><div>- Andrey</div>