Hi all! I have a large C++ application and I want to use functions/classes from it in pypy. I use cppyy. My application has own memory managing policy (references counting). That's why I need to *catch* moment when pypy is deleting foreign C++ objects - all of it should be "released" before pypy exits.
Can anybody advice a solution in my case? Some using of gc module or some other? Also I tried to change __del__ method of W_CPPInstance in .../pypy/module/cppyy/interp_cppyy.py. Is it right way? Sorry for my bad english, I hope you can understand me :) --- Best regards, Alexander
_______________________________________________ pypy-dev mailing list pypy-dev@python.org https://mail.python.org/mailman/listinfo/pypy-dev