]> git.ipfire.org Git - thirdparty/babel.git/commit
Turn off difflib "autojunk" heuristic in fuzzy matching 970/head
authorJean Abou Samra <jean@abou-samra.fr>
Sun, 12 Feb 2023 01:49:28 +0000 (02:49 +0100)
committerJean Abou Samra <jean@abou-samra.fr>
Sun, 12 Feb 2023 01:54:38 +0000 (02:54 +0100)
commitc8b7ac5b7ae1428aa6315abb6b90af0c03ab4e30
treee1e47f90009b8e6c964bff95e3fc89bf74a60613
parent63bb71a5acd0d49a2ceee15098485bc34b0e8864
Turn off difflib "autojunk" heuristic in fuzzy matching

difflib has a heuristic that used to make fuzzy matching unreliable for
>200char strings.  See

https://github.com/python/cpython/issues/90825

Fixes #969
babel/messages/catalog.py
tests/messages/test_catalog.py