Author eric.smith
Recipients Chris.Barker, Mariatta, barry, docs@python, eric.smith, levkivskyi, mastrodomenico, ned.deily, rhettinger, vstinner
Date 2018-05-14.18:07:42
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1526321262.06.0.682650639539.issue32216@psf.upfronthosting.co.za>
In-reply-to
Content
Note that the documentation should make the implications of #33453 very clear.

In short, if an annotation "looks like" a ClassVar or InitVar, it will be treated as such. This is true even if it's specified as a string, or if it's a string due to "from __future__ import annotations".

I'm planning on specifying more details in #33453.
History
Date User Action Args
2018-05-14 18:07:42eric.smithsetrecipients: + eric.smith, barry, rhettinger, vstinner, ned.deily, mastrodomenico, Chris.Barker, docs@python, levkivskyi, Mariatta
2018-05-14 18:07:42eric.smithsetmessageid: <1526321262.06.0.682650639539.issue32216@psf.upfronthosting.co.za>
2018-05-14 18:07:42eric.smithlinkissue32216 messages
2018-05-14 18:07:42eric.smithcreate