Eric V. Smith <e...@trueblade.com> added the comment: This is the same reason that this fails:
class Base: __slots__ = ('x',) x = 3 with: ValueError: 'x' in __slots__ conflicts with class variable In the dataclasses case, the error needs to be improved, and moved to when the base class is being defined. ---------- _______________________________________ Python tracker <rep...@bugs.python.org> <https://bugs.python.org/issue33100> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com