Kyle Lanclos wrote:

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_Garbage ();
closeService (some_service);
return;

Is that possible?

what magic do you expect the "manual garbage collection" to do here that the DECREF doesn't already do?

</F>

--
http://mail.python.org/mailman/listinfo/python-list

Reply via email to