New submission from David Corbett <corbett....@husky.neu.edu>:

In `unicodedata`, the functions `lookup` and `name` have some bugs and 
inconsistencies.

`lookup` matches case-insensitively, except for the algorithmic names of Hangul 
syllables and CJK unified ideographs, which must be in all caps. The 
documentation does not explain how character names are fuzzily matched.

`lookup` accepts names like “CJK UNIFIED IDEOGRAPH-04E00”, where the code point 
has a leading zero.

`lookup` and `name` don’t implement rule NR2, defined in chapter 4 of Unicode, 
for Tangut ideographs’ names.

----------
assignee: docs@python
components: Documentation, Unicode
messages: 339203
nosy: docs@python, dscorbett, ezio.melotti, vstinner
priority: normal
severity: normal
status: open
title: Bugs and inconsistencies in unicodedata
type: behavior
versions: Python 3.7

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

Reply via email to