Serhiy Storchaka <storchaka+cpyt...@gmail.com> added the comment:

What is the problem with this?

Setting __slots__ is needed if we want to save memory for creating a lot of 
instances. It can also be used for preventing adding arbitrary attributes 
and/or making weak references. Setting __slots__ in base class is required if 
you want to get a benefit of setting __slots__ in any of subclasses.

----------
nosy: +serhiy.storchaka

_______________________________________
Python tracker <rep...@bugs.python.org>
<https://bugs.python.org/issue44318>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to