perform dealloc callbacks directly in gc.collect, to ensure tp_dealloc will be called
Also call gc.collect inside the capsule test in testcapimodule.c
Showing
- lib_pypy/_testcapimodule.c 13 additions, 7 deletionslib_pypy/_testcapimodule.c
- pypy/module/cpyext/pyobject.py 1 addition, 3 deletionspypy/module/cpyext/pyobject.py
- pypy/module/cpyext/state.py 1 addition, 2 deletionspypy/module/cpyext/state.py
- pypy/module/gc/interp_gc.py 6 additions, 0 deletionspypy/module/gc/interp_gc.py
Loading
Please register or sign in to comment