[Python-Dev] Re: Change module attribute get & set (original) (raw)

Guido van Rossum guido@digicool.com
Fri, 11 May 2001 10:13:56 -0500


I think this is a problem in classobject.c:genericbinaryop as well. PyObjectGetAttrString is always used. I believe the old code interned names like "add" and used PyObjectGetAttr. Is it worth fixing this?

Maybe. I'd give this low priority. If my descriptor branch work goes well, most of classobject.c may disappear in favor of the newly swollen typeobject.c. ;-)

--Guido van Rossum (home page: http://www.python.org/~guido/)