Message361199
>>> 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) |
|
Date |
User |
Action |
Args |
2020-02-01 23:35:59 | BTaskaya | set | recipients:
+ BTaskaya |
2020-02-01 23:35:59 | BTaskaya | set | messageid: <1580600159.52.0.798208361602.issue39522@roundup.psfhosted.org> |
2020-02-01 23:35:59 | BTaskaya | link | issue39522 messages |
2020-02-01 23:35:59 | BTaskaya | create | |
|