[PyKDE] Changes to Signal/Slot Handling

Phil Thompson phil at riverbankcomputing.co.uk
Sun Dec 10 00:14:46 GMT 2006


On Sunday 10 December 2006 12:07 am, Giovanni Bajo wrote:
> Phil Thompson wrote:
> > lambda functions are now treated slightly differently and can now be used
> > as slots.
>
> Why can't you simply always incref the slot, be it a lambda, a method or
> anything else?

I don't trust my understanding of the cyclic garbage collector sufficiently 
well to make what would be a radical change without breaking existing 
applications. It needs more investigation - but handling lambdas was easy and 
relatively risk free.

Phil




More information about the PyQt mailing list