Maybe I'm a little bit nitpicky, but there is the following statement in Python Documentation, about the definition of __slots__:
When inheriting from a class without
__slots__, the__dict__attribute of that class will always be accessible, so a__slots__definition in the subclass is meaningless.
However, object does not have a __slots__ and surely have a __dict__. How could a definition of __slots__ in a subclass of object have any effect?