[issue46382] dataclass(slots=True) does not account for slots in base classes

Serhiy Storchaka report at bugs.python.org
Thu Mar 17 07:36:02 EDT 2022


Serhiy Storchaka <storchaka+cpython at gmail.com> added the comment:

__slotnames__ is used for storing all slot names.

New object.__getstate__() proposed in issue26579 may have some relation to this discussion.

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

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue46382>
_______________________________________


More information about the Python-bugs-list mailing list