Author stachel
Recipients eric.smith, stachel
Date 2018-03-19.02:38:06
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <>
Thanks for explaining. I was trying to do something like

class A:
  x: ClassVar = set()

and thanks to you I know it should be 

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.
Date User Action Args
2018-03-19 02:38:07stachelsetrecipients: + stachel, eric.smith
2018-03-19 02:38:07stachelsetmessageid: <>
2018-03-19 02:38:07stachellinkissue33094 messages
2018-03-19 02:38:06stachelcreate