[PyQt] Next PyQt, SIP and QScintilla Releases
phil at riverbankcomputing.com
Mon Aug 23 10:03:34 BST 2010
On Sun, 22 Aug 2010 15:51:12 +0100, Baz Walter <bazwal at ftml.net> wrote:
> On 22/08/10 09:56, Phil Thompson wrote:
>> Development is finished on the next releases of PyQt, SIP and
>> so testing your favorite application against current snapshots would be
>> good idea...
> i'm seeing lots of "RuntimeError: underlying C/C++ object has been
> deleted" errors related to a subclass of QAction used for setting up
> application menus.
> this is using: python 2.7, qt 4.6.2, sip 4.11-snapshot-7cff86d70dc7,
> pyqt snapshot-4.7.5-6ad3e35e67ac, qsci snapshot-2.4.5-80afe6b1504a.
> i'm sorry i can't come up with any test cases at the moment, because the
> errors do not occur every time i run the application, and when they do
> occur, they affect completely different parts of the code. (nb: i have
> not edited the affected code in months).
> any ideas what might be causing this, so that i can try to come up with
> some test cases?
> unfortunately, i also haven't kept any of the recent snapshots, so i
> can't narrow the problem down that way either :(
PyQt will now detect when a QObject created internally by Qt and returned
by a method is destroyed (by Qt). This might expose application bugs.
However it doesn't cover the situation you are describing - assuming you
are talking about a Python (rather than C++) subclass of QAction.
More information about the PyQt