On 14. 06. 21 14:17, Miro Hrončok wrote:
> - AttributeError: module 'unicodedata' has no attribute
'ucnhash_CAPI'
https://docs.python.org/3.10/whatsnew/3.10.html#removed
"""
Removed the unicodedata.ucnhash_CAPI attribute which was an internal PyCapsule
object. The related private _PyUnicode_Name_CAPI structure was moved to the
internal C API.
https://bugs.python.org/issue42157
"""
The relevant issue makes it sound like the unicodedata.ucnhash_CAPI attribute
was not usable at all but in case you've used it, I gues it was. There was no
deprecation period for this and maybe it should not have been removed?