Message316545
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. |
|
Date |
User |
Action |
Args |
2018-05-14 18:07:42 | eric.smith | set | recipients:
+ eric.smith, barry, rhettinger, vstinner, ned.deily, mastrodomenico, Chris.Barker, docs@python, levkivskyi, Mariatta |
2018-05-14 18:07:42 | eric.smith | set | messageid: <1526321262.06.0.682650639539.issue32216@psf.upfronthosting.co.za> |
2018-05-14 18:07:42 | eric.smith | link | issue32216 messages |
2018-05-14 18:07:42 | eric.smith | create | |
|