[issue9157] Allow inspection of used decorators on a function

Mitar report at bugs.python.org
Sat Aug 21 22:21:35 CEST 2010


Mitar <mmitar at gmail.com> added the comment:

Here is the concrete code how I imagined that:

http://code.djangoproject.com/ticket/13854

So this would be not made in code of `wraps` function, but would be contract for implementers to do it, if they want to be visible (maybe they still do not want that). And all built-in decorators should do that then.

----------

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue9157>
_______________________________________


More information about the Python-bugs-list mailing list