>>>>>> On Wed, 16 Mar 2005 09:42:36 -0000 (GMT), "Phil Thompson" >>>>>> <[EMAIL PROTECTED]> said: > > >> sipPySelf is the pointer to the Python instance object. It is reset >> to 0 to show that it has been garbage collected. Unfortunately, as >> you have found, it means the Python virtual reimplementations can no >> longer work. > > That's what I thought was happening. > >> You use sipTransfer() - but you must call it before the Python >> object is garbage collected, ie. you must provide >> %VirtualCatcherCode for clone(). This is probably what you want to >> do if you want to make life as easy as possible for your users >> writing the Python reimplementations. > > Yes, sounds reasonable. Is there some example of using > %VirtualCatcherCode that I can learn from?
The PyQt sources? Phil _______________________________________________ PyKDE mailing list [email protected] http://mats.imk.fraunhofer.de/mailman/listinfo/pykde
