New submission from Batuhan <batuhanosmantask...@gmail.com>:
>>> 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) ---------- components: Interpreter Core messages: 361199 nosy: BTaskaya priority: normal severity: normal status: open title: AST Unparser with unicode kinded constants type: behavior versions: Python 3.7, Python 3.8, Python 3.9 _______________________________________ Python tracker <rep...@bugs.python.org> <https://bugs.python.org/issue39522> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com