Commit 2fe8993
fix: handle missing ISO_TO_LANGUAGE in older chardet versions
The benchmark scripts run in venvs with different chardet versions
installed. ISO_TO_LANGUAGE was added recently and doesn't exist in
7.1.0 or earlier, causing ImportError when benchmarking old versions.
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>1 parent 2831276 commit 2fe8993
1 file changed
Lines changed: 7 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
9 | 9 | | |
10 | 10 | | |
11 | 11 | | |
12 | | - | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
13 | 19 | | |
14 | 20 | | |
15 | 21 | | |
| |||
0 commit comments