On 2/1/06, Jorge Godoy <[EMAIL PROTECTED]> wrote:
>
> Kevin Dangoor <[EMAIL PROTECTED]> writes:
>
> > Yes, I forgot to mention that the tests are good docs for some of the
> > possibilities here. They're not quite as readable, because they're
> > Python 2.3 compatible, but the ideas are there.
>
> Wow...  They are quite messy, indeed...  :-\

Decorators aren't pretty under Python 2.3.

>   File 
> "/home/godoy/desenvolvimento/python/TurboGears/trunk/turbogears/controllers.py",
>  line 240, in _execute_func
>     raise error
> TypeError: expose() got multiple values for keyword argument 'self'

wow. that's neat.

I think I'll roll back controllers.py and do something to give a
switch between the old implementation and new so that people can test
this easily. (Kind of what I've got in mind for the widget update.)

Kevin

Reply via email to