Lisandro Dalcin wrote: > On Wed, Sep 10, 2008 at 11:35 AM, Stefan Behnel <[EMAIL PROTECTED]> > wrote: >> This specific case is easy to handle as we can replace >> PyObject_GetAttrString() by the equivalent PyObject_GetAttr() call and >> create the Python string ourselves (which would normally happen inside >> of PyObject_GetAttrString). > > As a reminder, please use PyString_InternFromString() (or the py3k > equivalent).
I considered doing that and rejected it as I do not see the gain in re-re-building the Python string instead of creating it once. Why do you think this is necessary? Stefan _______________________________________________ Cython-dev mailing list [email protected] http://codespeak.net/mailman/listinfo/cython-dev
