python segfaulting, MemoryError (PyQt)

Phil Thompson phil at riverbankcomputing.com
Tue Apr 28 11:25:08 CEST 2009


On Tue, 28 Apr 2009 11:18:31 +0200, "Diez B. Roggisch"
<deets at nospam.web.de>
wrote:
>>> As the documentation of pyqt clearly states, connecting signals doesn't
>>> increment the refcount on a passed slot, thus
>>>   you need to keep a reference to your slots around.
>> 
>> But it does increase the refcount for lambda slots.
> 
> Has that changed? It has been a while, but I've been bitten by this
before,
> so I was pretty sure about my answer.

Support for lambda slots was add in PyQt v4.1.1 (released December 2006).

Phil



More information about the Python-list mailing list