Add support for weakref.proxy
I had to change 'new_weakref' to use 'tp_alloc' instead of 'PyObject_GC_New' in order to create a weak ref because 'PyObject_GC_New' allocated memory is scanned conservatively. 'tp_alloc' points to 'PystonType_GenericAlloc' and is of PYTHON type.
Showing
test/tests/weakref_proxy.py
0 → 100644
Please register or sign in to comment