New submission from David Corbett :
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
https://bugs.python.org/issue36486
_______________________________________