>>>>>> On Tue, 15 Mar 2005 09:09:02 -0000 (GMT), "Phil Thompson"
>>>>>> <[EMAIL PROTECTED]> said:
>
>>>  I can't get to the sip documentation pages right now,
>>> river-bank.demon.co.uk not responding.  I can see from Python that
>>> sip.transfer takes two arguments.  What are they?
>
>> It seems to be back now.
>
>    I managed to guess correctly what the arguments were before the
> server came back up.   It works.
>
>> If you want to do it in C++ instead then
>> there is also sipTransfer().
>
>    I'll keep that in mind, it would make it friendlier for the Python
> function author.
>
>> But then it sounds like it is being kept alive (and being leaked)
>> because you are not explicitly disposing of the reference.
>
>    The C++ may eventually delete the object via the virtual
> destructor.
>
>> What
>> Python API call are you using to call clone()?
>
>    No Python API.   The C++ code is doing "prototype -> clone()".

...and it's virtual. I've eventually got it - I'm so used to thinking
about extending Python with C++ that I hadn't appreciated properly that
you are extending C++ with Python.

Phil

_______________________________________________
PyKDE mailing list    PyKDE@mats.imk.fraunhofer.de
http://mats.imk.fraunhofer.de/mailman/listinfo/pykde

Reply via email to