<div class="gmail_quote">On 15 July 2011 12:29, Michele Simionato <span dir="ltr"><<a href="mailto:michele.simionato@gmail.com">michele.simionato@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
Following the lead of functools.wraps seems to be a sensible way to go, even if the "onion-like" behavior seems more natural to me. Since I am an user of IPython, it is my interest to have this functionality working. Consider this added to the list of feature requests I have for the decorator module. If it will enter in the next release of the module I will keep you informed.</blockquote>
</div><br>Great, thanks Michele.<br><br>Ben, let's revert to the original design to just unwrap one layer, then.<br><br>Best wishes,<br>Thomas<br>