Chris Withers <[email protected]> added the comment:
I will note that this means with:
class BaseClass(ABC):
pass
class MyDerivedClass(BaseClass):
def __init__(self, thing):
self.thing = thing
thing = MyDerivedClass()
thing now has both __slots__ and, evidently, a dict. That's a bit weird and
confusing.
----------
nosy: +cjw296
_______________________________________
Python tracker <[email protected]>
<https://bugs.python.org/issue30463>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe:
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com