[issue36280] Add kind field to ast.Constant, to distinguish u"..." from "..." for type checkers

Serhiy Storchaka report at bugs.python.org
Wed Mar 13 00:16:19 EDT 2019


New submission from Serhiy Storchaka <storchaka+cpython at gmail.com>:

Maybe use a special subclass of Constant for indicating string literals with the "u" prefix?

----------
nosy: +serhiy.storchaka

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue36280>
_______________________________________


More information about the Python-bugs-list mailing list