[issue46555] Unicode-mangled names refer inconsistently to constants

Serhiy Storchaka report at bugs.python.org
Sat Jan 29 06:53:33 EST 2022


Serhiy Storchaka <storchaka+cpython at gmail.com> added the comment:

True is a keyword which is compiled to expression whose value is True, 𝕋𝕣𝕦𝕖 is an identifier which refers to the builtin variable "True" which has a value True by default. You can change the value of a builtin variable, but the value of expression True is always True.

I do not see a problem here. Don't use 𝕋𝕣𝕦𝕖 if your intention is not using a variable.

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

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


More information about the Python-bugs-list mailing list