> there was discussion related to this same problem earlier in the week.
>
> http://groups.google.com/group/comp.lang.python/browse_thread/thread/ad08eb9eb83a4e61/d1906cbc26e16d15?q=Mangle+function+name+with+decorator%3F
>
Thanks this was very helpful!
>> I'd like to implement a decorator that w
there was discussion related to this same problem earlier in the week.
http://groups.google.com/group/comp.lang.python/browse_thread/thread/ad08eb9eb83a4e61/d1906cbc26e16d15?q=Mangle+function+name+with+decorator%3F
andrew
Daniel Fetchinson wrote:
> I'd like to implement a decorator that would
Daniel Fetchinson wrote:
> >> I'd like to implement a decorator that would rename the method which
> >> it decorates. Since it's a tricky thing in general involving all sorts
> >> of __magic__ I thought I would ask around first before writing
> >> something buggy :)
> >>
> >> It should work someth
>> I'd like to implement a decorator that would rename the method which
>> it decorates. Since it's a tricky thing in general involving all sorts
>> of __magic__ I thought I would ask around first before writing
>> something buggy :)
>>
>> It should work something like this:
>>
>> class myclass( ob
Daniel Fetchinson wrote:
I'd like to implement a decorator that would rename the method which
it decorates. Since it's a tricky thing in general involving all sorts
of __magic__ I thought I would ask around first before writing
something buggy :)
It should work something like this:
class myclas