[pygtk] destructors not getting called
Toshio Kuratomi
toshio at tiki-lounge.com
Tue Aug 8 09:17:00 WST 2006
On Mon, 2006-08-07 at 17:06 -0700, N. French wrote:
> Maybe I'm not understanding that paragraph, but I'm saying that even in
> the event of program termination I have objects that aren't getting
> finalized properly. I don't think that is what that is talking about
> (but I certainly appreciate the suggestion).
python destructors are not guaranteed to be invoked.
The standard advice is to do things within a try: finally: block but
this is not always very elegant....
-Toshio
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
Url : http://www.daa.com.au/pipermail/pygtk/attachments/20060807/3380a144/attachment.pgp
More information about the pygtk
mailing list