Haoyu Bai, 22.06.2010 18:29: > Indeed, there are > some other places that we should use Py_CLEAR() insted of DECREF. I'll > try to go through and fix them.
Be careful, though, it's not always the right thing to do. Py_CLEAR() is nice for hand written code, but Cython can sometimes do better or has to do other things in order to generate correct code. I don't remember where, but I already ran into this trap once. Whatever you change in this regard, please call for a review before you invest too much time into it. Stefan _______________________________________________ Cython-dev mailing list [email protected] http://codespeak.net/mailman/listinfo/cython-dev
