New submission from Joshua Landau:
"a¹ = None" is not valid, even though unicodedata.normalize("NFKC", "¹") == "1".
One would expect "a¹ = None" and "a1 = None" to be equivalent in this case, as
with "aⁱ = None" and "ai = None".
I am not sure how many other characters exhibit the same problem.
References:
http://docs.python.org/py3k/reference/lexical_analysis.html#identifiers
http://mail.python.org/pipermail/python-list/2012-September/631420.html
"¹" === "\u00b9"
"ⁱ" === "\u2071"
----------
components: Interpreter Core
messages: 171082
nosy: Joshua.Landau
priority: normal
severity: normal
status: open
title: Some Unicode in identifiers improperly rejected
versions: Python 3.2
_______________________________________
Python tracker <[email protected]>
<http://bugs.python.org/issue16010>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe:
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com