On Wed, Oct 10, 2001 at 01:00:11PM -0400, Matt Wilson wrote:
> 
> Now, your case puzzles me.  I think that there may be some problems
> with extended types and __del__?  Does __del__ chain properly?  Or do
> we need code to do that in our pygobject before we tear down the whole
> object?  PEP 252 isn't clear...

s/252/253/ (typo)

For example:

class myList(type([])):
    def __del__(self):
        print "list dealloced"

list = myList()
list.append("foo")
list.append("bar")
del list

never prints list delloced.

Matt
_______________________________________________
pygtk mailing list   [EMAIL PROTECTED]
http://www.daa.com.au/mailman/listinfo/pygtk

Reply via email to