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 stachel
Recipients eric.smith, stachel
Date 2018-03-19.21:52:16
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1521496336.21.0.467229070634.issue33100@psf.upfronthosting.co.za>
In-reply-to
Content
There's also another major problem. Because Base.x has value, __init__ is not prepared correctly (member_descriptor is passed as default). 

@dataclass
class Base:
    __slots__ = ('x',)
    x: Any

Base()  # No TypeError exception

Fixing this should be quite easy, if you want I can prepare PR.
History
Date User Action Args
2018-03-19 21:52:16stachelsetrecipients: + stachel, eric.smith
2018-03-19 21:52:16stachelsetmessageid: <1521496336.21.0.467229070634.issue33100@psf.upfronthosting.co.za>
2018-03-19 21:52:16stachellinkissue33100 messages
2018-03-19 21:52:16stachelcreate