[New-bugs-announce] [issue44418] unicodedata.ucnhash_CAPI removed from Python 3.10 without deprecation

Miro Hrončok report at bugs.python.org
Mon Jun 14 08:21:13 EDT 2021


New submission from Miro Hrončok <miro at hroncok.cz>:

In bpo-42157, the unicodedata.ucnhash_CAPI attribute was removed without deprecation. This breaks at least https://github.com/dgrunwald/rust-cpython with:

    AttributeError: module 'unicodedata' has no attribute 'ucnhash_CAPI'

Please revert the removal and deprecate the attribute for 2 Python releases if you want to remove it.

Thanks

----------
components: Library (Lib)
messages: 395792
nosy: hroncok, vstinner
priority: normal
severity: normal
status: open
title: unicodedata.ucnhash_CAPI removed from Python 3.10 without deprecation
type: behavior
versions: Python 3.10, Python 3.11

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


More information about the New-bugs-announce mailing list