weak references an C extension types

vng1 at mac.com vng1 at mac.com
Mon Oct 4 09:44:02 EDT 2004


Hi all,

I'm trying to build a C extension that supports weak references with 
Pyrex but I'm pretty confused as to what I need to do.

The docs at : http://docs.python.org/lib/weakref-extension.html

make reference to PyObject_ClearWeakRefs and to a tp_flags settings 
which I'm not sure how to access from Pyrex.

Has anyone had success with weak references and Pyrex?

vic
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 3901 bytes
Desc: not available
URL: <http://mail.python.org/pipermail/python-list/attachments/20041004/5913723f/attachment.bin>


More information about the Python-list mailing list