[PyKDE] ANN: New Releases of PyQt, PyKDE, SIP and QScintilla
phil at riverbankcomputing.co.uk
Thu Sep 1 08:10:30 BST 2005
> On Tue, 30 Aug 2005 20:32:50 +0100, Phil Thompson wrote:
>> The following have been released and are available at the usual place...
>> PyQt v3.15
>> SIP v4.3
>> QScintilla v1.6
>> Most of the work has been under the covers - supporting Python's cyclic
>> garbage collector in particular.
>> The PyKDE snapshot is a hacked version done by me to fix
>> with the latest SIP. Any breakage is my fault, not Jim's.
> I'm not sure where the changes have occurred but, without applying any
> patches of my own, I now find that:
> * None of my KPart plugins work any more - the receivers for the KActions
> I set up are never called. I'm still chasing this bug but it seems
> unlike C++ slots, Python functions/methods are never called. It seems
> that the Python slot is somehow transferred out of existance by the
> KAction because, if I assign the method to an instance variable
> a copy around), the slot is called when the action is activated.
Got a test script? When a connection is made to a Python slot the
reference count of the slot is not increased (never has been). The current
garbage collection is much more "correct" than in previous versions, so
(perhaps) it's exposed an existing bug rather than created a new one. Have
you been using previous snapshots, or were you using 4.2.1/3.14.1?
> * My KParts work "out of the box" - I previously had to patch PyQt to get
> this to work. I haven't yet checked whether long term use will lead to
> crashes in Konqueror.
> So, it seems like a mixture of good and bad news. :-/
More information about the PyQt