[Python-ideas] Allow using symbols from Unicode block "Superscripts and Subscripts" in identifiers
Alexander Belopolsky
alexander.belopolsky at gmail.com
Sun May 4 00:08:51 CEST 2014
On Sat, May 3, 2014 at 5:48 PM, Terry Reedy <tjreedy at udel.edu> wrote:
> Would you allow super/subscripts as prefixes rather than suffixes? I
> presume not since we already disallow initial numbers.
Python 3 does not recognize subscripts as numbers:
>>> int('₂')
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
ValueError: invalid literal for int() with base 10: '₂'
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/python-ideas/attachments/20140503/96777db0/attachment.html>
More information about the Python-ideas
mailing list