Commit 17efbbe
docs+test: record the comparison_key casefold deviation from 1.4
1.4's comparison_key()/matches() lowercased; 2.0 casefolds (both the
new API and the facade). The deviation is strictly more permissive --
ß/SS and final-sigma case pairs now compare equal -- and comparison is
the one surface where casefold's aggressive folds are wanted: the key
is opaque, so the vocabulary spelling-mutation casefold caused in
storage (fixed to lower() in 3e6e08d) cannot happen here. Release-log
behavior-changes entry + a pin test on both API paths, so the next
casefold audit finds the intent recorded.
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>1 parent 0fd386c commit 17efbbe
2 files changed
Lines changed: 19 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
23 | 23 | | |
24 | 24 | | |
25 | 25 | | |
| 26 | + | |
26 | 27 | | |
27 | 28 | | |
28 | 29 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
303 | 303 | | |
304 | 304 | | |
305 | 305 | | |
| 306 | + | |
| 307 | + | |
| 308 | + | |
| 309 | + | |
| 310 | + | |
| 311 | + | |
| 312 | + | |
| 313 | + | |
| 314 | + | |
| 315 | + | |
| 316 | + | |
| 317 | + | |
| 318 | + | |
| 319 | + | |
| 320 | + | |
| 321 | + | |
| 322 | + | |
| 323 | + | |
306 | 324 | | |
307 | 325 | | |
308 | 326 | | |
| |||
0 commit comments