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:

On Fri, May 2, 2014 at 12:34 PM, Roman Inflianskas <> wrote:
It's really useful that python 3 allows me to use some Unicode symbols (as specified in, 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
Code of Conduct: