[issue22667] Incorrect evaluation of variables with names containing supplementary characters

Drekin report at bugs.python.org
Sat Oct 18 21:26:20 CEST 2014


New submission from Drekin:

>>> eval("\N{mathematical double-struck capital a}")
NameError: name 'A' is not defined
>>> A = 2
>>> eval("\N{mathematical double-struck capital a}")
2
>>> "\N{mathematical double-struck capital a}" == "A"
False

----------
components: Interpreter Core, Unicode
messages: 229653
nosy: Drekin, ezio.melotti, haypo
priority: normal
severity: normal
status: open
title: Incorrect evaluation of variables with names containing supplementary characters
versions: Python 3.4, Python 3.5

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue22667>
_______________________________________


More information about the Python-bugs-list mailing list