[PyQt] Multithreading, signals, reference counting and crash

Ilya Kulakov kulakov.ilya at gmail.com
Thu Feb 11 18:16:03 GMT 2016


I said I don't know all the details :)

PyQt "controls" both signals and slots. Doesn't it know how many receivers are there before it sends?

Best Regards
Ilya Kulakov

> On 12 февр. 2016 г., at 0:08, Phil Thompson <phil at riverbankcomputing.com> wrote:
>> On 11 Feb 2016, at 6:04 pm, Ilya Kulakov <kulakov.ilya at gmail.com> wrote:
>> Hi Phil,
>> Wouldn't it make sense to keep Python objects alive while they are queued to be delivered? I don't know the details of implementation, but refcount could be incremented before object enters queue and decremented after all handlers are called.
> How do you know when they have been delivered?
> Phil

More information about the PyQt mailing list