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 terry.reedy
Recipients PanderMusubi, ezio.melotti, loewis, terry.reedy
Date 2012-12-21.23:32:07
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1356132727.47.0.300918317985.issue16684@psf.upfronthosting.co.za>
In-reply-to
Content
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 = ...
History
Date User Action Args
2012-12-21 23:32:07terry.reedysetrecipients: + terry.reedy, loewis, ezio.melotti, PanderMusubi
2012-12-21 23:32:07terry.reedysetmessageid: <1356132727.47.0.300918317985.issue16684@psf.upfronthosting.co.za>
2012-12-21 23:32:07terry.reedylinkissue16684 messages
2012-12-21 23:32:07terry.reedycreate