Note that commenting out __new__ = object.__new__ above does seem to "fix" things but I'm not sure if that is the correct fix.
Note that commenting out __new__ = object.__new__ above does seem to "fix" things but I'm not sure if that is the correct fix.