[PyQt] PyQt. How to shoot yourself in the foot.

Yuya Nishihara yuya at tcha.org
Sun Aug 24 02:32:05 BST 2014


On Sat, 23 Aug 2014 22:40:51 +0300, Andrei Kopats wrote:
> I just published an article about memory management in PyQt. I think it
> could be interesting for somebody in this list.
> http://enki-editor.org/2014/08/23/Pyqt_mem_mgmt.html
> I'll be thankful for comments and corrections.

IIRC, better solution for "problems connected to C++ object deletion" is
to use @pyqtSlot() decorator.  Connections to real slots are managed in
C++/Qt layer and thus they are disconnected when C++ object is deleted.

Regards,


More information about the PyQt mailing list