cpython icon indicating copy to clipboard operation
cpython copied to clipboard

gh-96019 makeunicodedata decomposition cache bug

Open cfbolz opened this issue 3 years ago • 0 comments

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

cfbolz avatar Aug 16 '22 08:08 cfbolz