Terry J. Reedy added the comment:

This seems like a plausible request to me. The three dicts comprise 70 
code-alias pairs. If unicodedata had a Python version (should it?), the 
simplest thing would be to add bididict, eawdist, and gcdict to that version 
(and not to the C version). I don't know how well putting dicts in C code 
works. A unicodealias module could be added but I do not really like that idea. 
I would prefer adding data attributes and correspond docs to the current module.

Pander: submitting a proof-of-concept script that accesses and parses that url 
and produces ready-to-go python code like below might encourage adoption of 
your proposal. In any case, it would be here for others to use.

bididict = {
    'AL': 'Arabic_Letter',
...
    'WS': 'White_Space',
}

eawdict = ...

----------
nosy: +loewis, terry.reedy

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue16684>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to