[IPython-dev] 'Unwrapping' decorated functions in IPython

Ben Edwards bedwards at cs.unm.edu
Fri Jul 15 09:46:17 EDT 2011


Thanks this sounds like a plan, I reverted the to the original in the pull
request.

Ben

On Fri, Jul 15, 2011 at 7:02 AM, Thomas Kluyver <takowl at gmail.com> wrote:

> On 15 July 2011 12:29, Michele Simionato <michele.simionato at gmail.com>wrote:
>
>> 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.
>
>
> Great, thanks Michele.
>
> Ben, let's revert to the original design to just unwrap one layer, then.
>
> Best wishes,
> Thomas
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/ipython-dev/attachments/20110715/385a846a/attachment.html>


More information about the IPython-dev mailing list