[Python-Dev] Re: Change module attribute get & set

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


> I think this is a problem in classobject.c:generic_binary_op as
> well.  PyObject_GetAttrString is always used.  I believe the old
> code interned names like "__add__" and used PyObject_GetAttr.  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/)