[New-bugs-announce] [issue18234] Unicodedata module should provide access to codepoint aliases
Alexander Belopolsky
report at bugs.python.org
Mon Jun 17 02:24:18 CEST 2013
New submission from Alexander Belopolsky:
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
----------
messages: 191300
nosy: belopolsky
priority: normal
severity: normal
status: open
title: Unicodedata module should provide access to codepoint aliases
type: enhancement
versions: Python 3.4
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue18234>
_______________________________________
More information about the New-bugs-announce
mailing list