class foo(object): __slots__ = ['__base__']
What's expected is for
foo.__base__ to be a member_descriptor object
but instead what you get is:
>>> foo.__base__ <class 'object'> >>> foo.__base__ is object True
I guess something happens within the magic of class construction that makes use of
__base__ as an object.
I stumbled across this because my particular class represented by
foo makes use of
__base__ for holding objects
foo makes special instances of when called.
Just something interesting to note here, and possibly some useful knowledge so others can know to stay away from
'__base__' as a class attr name.