python segfaulting, MemoryError (PyQt)

Diez B. Roggisch deets at
Tue Apr 28 15:50:09 CEST 2009

Phil Thompson wrote:

> On Tue, 28 Apr 2009 11:18:31 +0200, "Diez B. Roggisch"
> <deets at>
> 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).

Unfortunately after I had the chance to play with PyQt for the last time.
Thanks for clarifying!


More information about the Python-list mailing list