Author pitrou
Recipients christian.heimes, michele_s, pitrou
Date 2008-01-17.21:29:40
SpamBayes Score 0.0778612
Marked as misclassified No
Message-id <1200605382.59.0.305482053953.issue1764286@psf.upfronthosting.co.za>
In-reply-to
Content
Rather than devising something specific to the co_firstlineno attribute,
why not have functools.update_wrapper add a "wrapped_func" attribute
pointing to the original function object? That way, each function
inspecting the decorated function would have the opportunity to walk the
decoration chain if it wants.
History
Date User Action Args
2008-01-17 21:29:42pitrousetspambayes_score: 0.0778612 -> 0.0778612
recipients: + pitrou, michele_s, christian.heimes
2008-01-17 21:29:42pitrousetspambayes_score: 0.0778612 -> 0.0778612
messageid: <1200605382.59.0.305482053953.issue1764286@psf.upfronthosting.co.za>
2008-01-17 21:29:40pitroulinkissue1764286 messages
2008-01-17 21:29:40pitroucreate