Re: Self-referencing decorator function parameters

2008-04-02 Thread Erich
On Apr 2, 10:13 am, Thomas Dimson <[EMAIL PROTECTED]> wrote: > > I guess my real question is: why does wrapping the call to be > "call=lambda x: DecorateMe.callMe(x)" somehow fix the issue with this > temporary namespace? It seems strange to me that defining an > additional function (through lambda

Re: Self-referencing decorator function parameters

2008-04-02 Thread castironpi
On Apr 2, 7:30 am, Thomas Dimson <[EMAIL PROTECTED]> wrote: > Hello, > > Originally I posted this as a bug but it was shot down pretty quickly. > I am still mildly curious about this as I'm missing a bit of > understanding of Python here. Why is it that the following code > snippet: > > def decorat

Re: Self-referencing decorator function parameters

2008-04-02 Thread Thomas Dimson
On Apr 2, 10:31 am, George Sakkis <[EMAIL PROTECTED]> wrote: > On Apr 2, 8:30 am, Thomas Dimson <[EMAIL PROTECTED]> wrote: > > > > > > > Hello, > > > Originally I posted this as a bug but it was shot down pretty quickly. > > I am still mildly curious about this as I'm missing a bit of > > understan

Re: Self-referencing decorator function parameters

2008-04-02 Thread George Sakkis
On Apr 2, 8:30 am, Thomas Dimson <[EMAIL PROTECTED]> wrote: > Hello, > > Originally I posted this as a bug but it was shot down pretty quickly. > I am still mildly curious about this as I'm missing a bit of > understanding of Python here. Why is it that the following code > snippet: > > def decora

Self-referencing decorator function parameters

2008-04-02 Thread Thomas Dimson
Hello, Originally I posted this as a bug but it was shot down pretty quickly. I am still mildly curious about this as I'm missing a bit of understanding of Python here. Why is it that the following code snippet: def decorator( call ): def inner(func): def application( *args, **kwargs