This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author belopolsky
Recipients belopolsky
Date 2013-06-17.00:24:18
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1371428658.79.0.833817613364.issue18234@psf.upfronthosting.co.za>
In-reply-to
Content
Python is aware of unicode codepoint aliases, but unicodedata does not provide a way to find aliases of a given codepoint:

>>> ucd.lookup('ESCAPE') == '\N{ESCAPE}'
True
>>> ucd.lookup('RS') == '\N{RS}'
True

but

>>> ucd.name('\N{ESCAPE}')
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
ValueError: no such name


>>> ucd.name('\N{RS}')
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
ValueError: no such name
History
Date User Action Args
2013-06-17 00:24:18belopolskysetrecipients: + belopolsky
2013-06-17 00:24:18belopolskysetmessageid: <1371428658.79.0.833817613364.issue18234@psf.upfronthosting.co.za>
2013-06-17 00:24:18belopolskylinkissue18234 messages
2013-06-17 00:24:18belopolskycreate