Storing a C pointer in a Python class instance

sturlamolden sturlamolden at yahoo.no
Tue Sep 29 14:16:35 EDT 2009


On 29 Sep, 19:11, Carl Banks <pavlovevide... at gmail.com> 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