Commit e3616a9
Normalize bytes format strings to str before using them as the cache key,
so that equal str and bytes formats no longer collide and get compared.
(cherry picked from commit 190d2ff)
Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
Co-authored-by: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
1 parent 1b060a6 commit e3616a9
3 files changed
Lines changed: 36 additions & 4 deletions
File tree
- Lib/test
- Misc/NEWS.d/next/Library
- Modules
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
181 | 181 | | |
182 | 182 | | |
183 | 183 | | |
| 184 | + | |
| 185 | + | |
| 186 | + | |
| 187 | + | |
| 188 | + | |
| 189 | + | |
| 190 | + | |
| 191 | + | |
| 192 | + | |
| 193 | + | |
184 | 194 | | |
185 | 195 | | |
186 | 196 | | |
| |||
Lines changed: 4 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2504 | 2504 | | |
2505 | 2505 | | |
2506 | 2506 | | |
2507 | | - | |
| 2507 | + | |
| 2508 | + | |
2508 | 2509 | | |
2509 | 2510 | | |
2510 | 2511 | | |
2511 | 2512 | | |
2512 | 2513 | | |
2513 | 2514 | | |
2514 | 2515 | | |
2515 | | - | |
| 2516 | + | |
| 2517 | + | |
| 2518 | + | |
| 2519 | + | |
| 2520 | + | |
| 2521 | + | |
| 2522 | + | |
| 2523 | + | |
| 2524 | + | |
| 2525 | + | |
| 2526 | + | |
| 2527 | + | |
| 2528 | + | |
| 2529 | + | |
| 2530 | + | |
2516 | 2531 | | |
2517 | 2532 | | |
2518 | 2533 | | |
| 2534 | + | |
2519 | 2535 | | |
2520 | 2536 | | |
2521 | 2537 | | |
2522 | 2538 | | |
2523 | | - | |
| 2539 | + | |
2524 | 2540 | | |
2525 | 2541 | | |
2526 | 2542 | | |
2527 | 2543 | | |
2528 | | - | |
| 2544 | + | |
2529 | 2545 | | |
| 2546 | + | |
2530 | 2547 | | |
2531 | 2548 | | |
2532 | 2549 | | |
| 2550 | + | |
2533 | 2551 | | |
2534 | 2552 | | |
2535 | 2553 | | |
| |||
0 commit comments