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 BTaskaya
Recipients BTaskaya
Date 2020-02-01.23:35:59
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1580600159.52.0.798208361602.issue39522@roundup.psfhosted.org>
In-reply-to
Content
>>> from __future__ import annotations
>>> import ast
>>> x: u"a" = 3
>>> __annotations__["x"]
"'a'"
>>> ast.dump(ast.parse(__annotations__["x"])) == ast.dump(ast.parse('u"a"'))
False

I guess before touching constant part, we should wait for GH-17426 (afterward I can prepare a patch)
History
Date User Action Args
2020-02-01 23:35:59BTaskayasetrecipients: + BTaskaya
2020-02-01 23:35:59BTaskayasetmessageid: <1580600159.52.0.798208361602.issue39522@roundup.psfhosted.org>
2020-02-01 23:35:59BTaskayalinkissue39522 messages
2020-02-01 23:35:59BTaskayacreate