web2py should use new style classee everywhere. Prompted by your
messages and an email form Jonathan and double checked and I found a
few old style classes around. I just fixed them in trunk.

massimo

On Dec 18, 4:32 am, Stef Mientki <stef.mien...@gmail.com> wrote:
> hello,
>
> a few weeks ago, I was debugging a web2py application,
> and printing some intermediate variables I got weird results,
> like :
>     TypeError: 'int' object is not callable
> and
>     |<type 'instance'>|
> ||
> |I didn't understand these results then,|
> |and solved my problems in another way
>
> Now I debugging a totally different program,
> and I'm facing the same problems.
> As I can't get around the problem in another way,
> I looked up the problem.
> And it seems to be caused by using old-style classes.
>
> Now I wonder,
> is it deliberately that web2py uses old-style classes,
> or is it just an inheritance from the past ?
>
> thanks,
> Stef Mientki
> |
>
> ||
>
> |
> |

Reply via email to