Commit c1de58f
fix: drop Constants.__setstate__ pre-1.2.1 pickle migration shim (#178)
1.2.1 shipped with a compatibility shim that let pickles written by the
old dir()-sweep __getstate__ (which included the read-only
suffixes_prefixes_titles property) load without raising AttributeError.
That was a one-version bridge; users who persisted pre-1.2.1 blobs can
load and re-pickle under 1.2.1 before upgrading to 1.3.0.
Remove the shim and its regression test, and add an upgrade note to
the release log explaining the migration path.
Co-authored-by: Claude Sonnet 4.6 <noreply@anthropic.com>1 parent 1b16917 commit c1de58f
3 files changed
Lines changed: 6 additions & 35 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | 3 | | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
4 | 10 | | |
5 | 11 | | |
6 | 12 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
383 | 383 | | |
384 | 384 | | |
385 | 385 | | |
386 | | - | |
387 | | - | |
388 | | - | |
389 | | - | |
390 | | - | |
391 | | - | |
392 | | - | |
393 | | - | |
394 | | - | |
395 | | - | |
396 | 386 | | |
397 | 387 | | |
398 | 388 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
208 | 208 | | |
209 | 209 | | |
210 | 210 | | |
211 | | - | |
212 | | - | |
213 | | - | |
214 | | - | |
215 | | - | |
216 | | - | |
217 | | - | |
218 | | - | |
219 | | - | |
220 | | - | |
221 | | - | |
222 | | - | |
223 | | - | |
224 | | - | |
225 | | - | |
226 | | - | |
227 | | - | |
228 | | - | |
229 | | - | |
230 | | - | |
231 | | - | |
232 | | - | |
233 | | - | |
234 | | - | |
235 | | - | |
236 | 211 | | |
237 | 212 | | |
238 | 213 | | |
| |||
0 commit comments