Kyle Lanclos wrote:
what magic do you expect the "manual garbage collection" to do here that
the DECREF doesn't already do?
</F>
I want to modify the above sequence to manually prompt Python's garbage
collection routine(s) to take over (performance is not an issue here),
similar to the following:
>
Py_XDECREF (some_callback) ;
PyCollect_Garba ge ();
closeService (some_service);
return;
>
Is that possible?
collection routine(s) to take over (performance is not an issue here),
similar to the following:
>
Py_XDECREF (some_callback) ;
PyCollect_Garba ge ();
closeService (some_service);
return;
>
Is that possible?
the DECREF doesn't already do?
</F>