Author stachel
Recipients eric.smith, stachel
Date 2018-03-19.02:38:06
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1521427087.04.0.467229070634.issue33094@psf.upfronthosting.co.za>
In-reply-to
Content
Thanks for explaining. I was trying to do something like

@dataclass
class A:
  x: ClassVar = set()

and thanks to you I know it should be 

@dataclass
class A:
  x: ClassVar[Set] = set()

If you are looking for improved error message, it's probably should be somehow connected to not proper usage of annotation. I've ended with default_factory because x: ClassVar = set() wasn't working and there was no error with default_factory and without slots.
History
Date User Action Args
2018-03-19 02:38:07stachelsetrecipients: + stachel, eric.smith
2018-03-19 02:38:07stachelsetmessageid: <1521427087.04.0.467229070634.issue33094@psf.upfronthosting.co.za>
2018-03-19 02:38:07stachellinkissue33094 messages
2018-03-19 02:38:06stachelcreate