On Mon, Jun 14, 2021 at 2:21 PM Miro Hrončok <mhroncok(a)redhat.com> wrote:
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?
I've reported
https://bugs.python.org/issue44418
Thanks, and thanks for your help with deciphering the exception messages.
At least I know what caused them now, which should help with fixing
them for good :)
Fabio