[prev in list] [next in list] [prev in thread] [next in thread] 

List:       pykde
Subject:    Re: [PyQt] Garbage collection, signals to partial functions
From:       Martin Teichmann <lkb.teichmann () gmail ! com>
Date:       2009-10-29 6:36:54
Message-ID: 16538b570910282336t16d1d65dl7d25ca022c76cd97 () mail ! gmail ! com
[Download RAW message or body]

Hi List,

well, apparently I wasn't clear enough.

> This seems to work for me too.

Says Lukas, then showing

> lukas@laptop ~  $  python gb.py
> None <__main__.A object at 0x7f9baff6ef30> <functools.partial object at
> 0x7f9baa5f3ba8> <bound method A.f of <__main__.A object at 0x7f9baff6ef30>>
> None <__main__.A object at 0x7f9baff6ef30> <functools.partial object at
> 0x7f9baa5f3ba8> <bound method A.f of <__main__.A object at 0x7f9baff6ef30>>
> 2 []

But that's exactly the problem. It should give
None <something> <something> (or None None None, dunno how good
reference counting should work)
None None None
(and then something really weird, since all objects are gone)

I'll try with latest snapshot, as hinted by Phil.

Greetings

Martin

_______________________________________________
PyQt mailing list    PyQt@riverbankcomputing.com
http://www.riverbankcomputing.com/mailman/listinfo/pyqt
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic