Storing a C pointer in a Python class instance

sturlamolden sturlamolden at
Tue Sep 29 20:16:35 CEST 2009

On 29 Sep, 19:11, Carl Banks <pavlovevide... at> wrote:

> CObjects can be passed a C function as a deallocator; this should work
> as reliably as a custom class deallocator.
> Carl Banks

Except that __del__ prevents cyclic GC.

More information about the Python-list mailing list