[issue42157] Cleanup the unicodedata module

STINNER Victor report at bugs.python.org
Mon Oct 26 18:51:06 EDT 2020


STINNER Victor <vstinner at python.org> added the comment:

> By the way, Unicode 3.2 was released in 2002: 18 years ago. I don't think that it's still relevant in 2020 to keep backward compatibility with Unicode 3.2. I propose to deprecate unicodedata.ucd_3_2_0 and deprecate the unicodedate.UCD type. In Python 3.12, we will be able to remove a lot of code, and simplify the code a lot.

Oh, it is used by the IDNA encoding (encodings.idna module) and the stringprep module (which is used by the encodings.idna module.

----------

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue42157>
_______________________________________


More information about the Python-bugs-list mailing list