En Thu, 22 May 2008 12:20:56 -0300, inhahe <[EMAIL PROTECTED]> escribió:
> I thought about the fact that a decorator is merely syntactic sugar, so it
> shouldn't have any closure magic that I can't make myself, and I realized
> that I could have done it the following way:
>
> def makefunc(func):
>
"inhahe" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
>
> 4. can someone tell me if the way i'm using the decorator is sane? i've
> never used decorators before. it just seems ridiculous to a) define a
> lambda that just throws away the parameter, and b) define a meaningless
>