cpython
cpython copied to clipboard
gh-96019 makeunicodedata decomposition cache bug
Fix a small bug in makeunicodedata where the caching of decompositions lists was broken because the code was trying to use list.index with two lists of integers to find pre-existing identical decompositions, which always failed. Use a dict with tuple keys instead.
- Issue: gh-96019