Commit 89e9eb7
Revert normalize performance changes (gh-143658) in __init__.py
Reverts the importlib_metadata/__init__.py normalize() changes introduced
by the merge 8c5d91b (str.translate/replace optimizations from
3e7f3ac and 001db0d), restoring the original re.sub-based
implementation.
Closes #540
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>1 parent 555287c commit 89e9eb7
1 file changed
Lines changed: 1 addition & 8 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
962 | 962 | | |
963 | 963 | | |
964 | 964 | | |
965 | | - | |
966 | | - | |
967 | | - | |
968 | 965 | | |
969 | | - | |
970 | | - | |
971 | | - | |
972 | | - | |
973 | | - | |
| 966 | + | |
974 | 967 | | |
975 | 968 | | |
976 | 969 | | |
| |||
0 commit comments