Hi, Lisandro Dalcin wrote: > Stefan, this is what I believe is the safe way for invalidating the > cache, at least for 'cdef class' classes.
I did the same, just after executing the body of a cdef class. I'm not sure, but I think this is the simplest thing to do. Also, I assume that the same thing has to be done after deleting an attribute, so it works in that case, too. The intuition is that whenever there is a cdef class body, there will be changes to the attributes in one way or another... Is the cache rebuilt at any point or will it remain invalid once we invalidate it? > For normal clases, I'll have to think a bit more. I don't think it hits us in that case at all, does it? > I go to sleep, my brain is exausted ... Thanks for all the work you put into this. I'll file the second bug report on Py3 then. Stefan _______________________________________________ Cython-dev mailing list [email protected] http://codespeak.net/mailman/listinfo/cython-dev
