This block includes non-alphanumeric characters. You wouldn't want to allow
variables named
x⁺¹ (~ x+1)
Some of the characters in this block are already allowed (the letters in
category Lm). The characters you want are in the No (other numbers)
category. Unfortunately, adding that category would be problematic as it
includes characters like ½ and you surely don't want a variable named x½ or
x⑴. That's x1/2 and x(1) for those without Unicode fonts.
--- Bruce
Learn how hackers think: http://j.mp/gruyere-security
https://www.linkedin.com/in/bruceleban
On Fri, May 2, 2014 at 12:34 PM, Roman Inflianskas
It's really useful that python 3 allows me to use some Unicode symbols (as specified in https://docs.python.org/3.4/reference/lexical_analysis.html#identifiers), especially Greek symbols for mathematical programs. But when I write mathematical program with lots of indices I would like to use symbols from block "Superscripts and Subscripts" (as id_continue), for example:
⁴₂₍₎
I don't see any problems with allowing yet another subset of Unicode symbols. In Julia, for example, I can use them without problems.
--
Regards, Roman Inflianskas
_______________________________________________ Python-ideas mailing list Python-ideas@python.org https://mail.python.org/mailman/listinfo/python-ideas Code of Conduct: http://python.org/psf/codeofconduct/