Nick Coghlan <ncogh...@gmail.com> added the comment:

How?

It was easy for wraps to add the __wrapped__ attribute, since it has access to 
both the wrapping function and the function being wrapped.

But it hasn't got a clue as to the identity of the decorator that is applying 
the wrapper.

Absent a concrete suggestion for how to actually do this cleanly, I'm inclined 
to reject the idea as being infeasible given the way decorators are applied.

----------

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue9157>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to