[Python-ideas] Allow using symbols from Unicode block "Superscripts and Subscripts" in identifiers
Terry Reedy
tjreedy at udel.edu
Sat May 3 00:29:52 CEST 2014
On 5/2/2014 3:34 PM, Roman Inflianskas wrote:
> It's really useful that python 3 allows me to use some Unicode
> symbols (as specified
> inhttps://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.
From 2.3. Identifiers and keywords
"The syntax of identifiers in Python is based on the Unicode standard
annex UAX-31, with elaboration and changes as defined below; see also
PEP 3131 for further details."
--
Terry Jan Reedy
More information about the Python-ideas
mailing list