Is it possible to use reflection to examine a function's decorators in Python 2.5?
<p>This is what i want to do:</p>

<pre><code>@MyDecorator
def f():
   pass

for d in f.decorators:
   print d
</code></pre>
