[PyKDE] ANN: New Releases of PyQt, PyKDE, SIP and QScintilla
david at boddie.org.uk
Tue Sep 6 22:47:16 BST 2005
On Monday 05 September 2005 09:30, Phil Thompson wrote:
> Just to clarify - the second argument to sip.transferto() being None means
> that the wrapper gets garbage collected. If you pass a wrapped object
> instead then that wrapped object is given a reference to the object passed
> as the first argument and so wouldn't be garbage collected (unless
> detected as part of a cycle).
Looks like I should "unpatch" the KLibFactory::createObject() function to
prevent it from transferring the object to NULL. In other words, maybe I
should remove the /Factory/ annotation I added in sip/kdecore/klibloader.sip
before trying to use sip.transferto() as you suggest.
More information about the PyQt