[PyQt] Slots being called on deleted QObjects

Kovid Goyal kovid at kovidgoyal.net
Tue Apr 8 11:33:04 BST 2014


On Tue, Apr 08, 2014 at 09:59:44AM +0100, Phil Thompson wrote:
> Unless somebody else is going to object I'm inclined to revert (and 
> introduce a documented incompatibility).

I think reverting is a good idea. I too doubt that anyone relies on
signals being delivered after the C++ object has been deleted, and if
they do, that is a definite anti-pattern.

Fixing a cause of potential hard crashes is a good thing.

Kovid.

-- 
_____________________________________

Dr. Kovid Goyal 
http://www.kovidgoyal.net
http://calibre-ebook.com
_____________________________________
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 198 bytes
Desc: Digital signature
URL: <http://www.riverbankcomputing.com/pipermail/pyqt/attachments/20140408/7a036a55/attachment.pgp>


More information about the PyQt mailing list