Not quite like that. It is more like (web2py specific):

"Do not declare classes with a __del__ method in web2py models or
controllers or instances of those classes will cause memory leaks"

AND (for any python program)

"Do not declare classes with a __del__ method in any Python program
unless you are sure there are no circular references"
Circular references are very easy to create accidentally in Python.


Massimo

On Feb 1, 5:08 pm, VP <[email protected]> wrote:
> If what I thought above is true, a warning like this sufficient:
> "Global objects/variables in controllers might (will?) cause memory
> leaks".
>
> If this is what the criticism of web2py amounts to, I think it's a
> storm in a tea cup.

Reply via email to