[Python-ideas] Allow using symbols from Unicode block "Superscripts and Subscripts" in identifiers

Greg Ewing greg.ewing at canterbury.ac.nz
Sat May 3 08:38:21 CEST 2014


Steven D'Aprano wrote:
> Particularly for mathematically-focused code, I think it would be useful 
> to be able to use identifiers like (say) σ² for variance,

Having σ² be a variable name could be confusing. To a
mathematician, it's not a distinct variable, it's
just σ ** 2.

-- 
Greg


More information about the Python-ideas mailing list