This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author eric.smith
Recipients eric.smith, stachel
Date 2018-03-19.08:57:06
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1521449826.45.0.467229070634.issue33100@psf.upfronthosting.co.za>
In-reply-to
Content
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.
History
Date User Action Args
2018-03-19 08:57:06eric.smithsetrecipients: + eric.smith, stachel
2018-03-19 08:57:06eric.smithsetmessageid: <1521449826.45.0.467229070634.issue33100@psf.upfronthosting.co.za>
2018-03-19 08:57:06eric.smithlinkissue33100 messages
2018-03-19 08:57:06eric.smithcreate