• Kevin Modzelewski's avatar
    Change how we handle setattr() wrt subclassing · 9f63b62e
    Kevin Modzelewski authored
    Previously there was no way to reliably run the default setattr
    behavior, which can be requested by calling object.__setattr__
    or PyObject_GenericSetattr.  When those were called, we would
    check to see if there is a custom __setattr__ defined and then
    try to call that.  But users can and do define custom __setattr__
    functions that defer to object.__setattr__, so we need a way to
    run the default behavior without deferring to a custom setattr.
    9f63b62e
objmodel.cpp 161 KB