[issue16010] Some Unicode in identifiers improperly rejected

2012-09-25 Thread Terry J. Reedy
Changes by Terry J. Reedy : -- resolution: -> invalid ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://m

[issue16010] Some Unicode in identifiers improperly rejected

2012-09-23 Thread R. David Murray
R. David Murray added the comment: I find it unexpected that aⁱ and ai name the same variable, but I suppose that is a consequence of the unicode normalization rules (meaning what I really find surprising is the normalization). As for the '¹', its category is No, which does not appear in the l

[issue16010] Some Unicode in identifiers improperly rejected

2012-09-23 Thread Joshua Landau
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.