Problemas con el __del__

Ayose setepo en gulic.org
Lun Feb 9 22:46:49 CET 2004


On Mon, Feb 09, 2004 at 07:32:55PM +0100, Pablo Barrera González wrote:
> [...]
> ¿No debería ejecutarse el destructor al final del script al cerrarse el
> interprete?
> 

Sacado de http://www.python.org/doc/current/ref/customization

  [...] It is not guaranteed that __del__() methods are called for
  objects that still exist when the interpreter exits.


-- 
Ayose Cazorla León
Debian GNU/Linux - setepo




Más información sobre la lista de distribución Python-es