Commit c8a0fbf
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: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
1 parent 05f0b61 commit c8a0fbf
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 | |
|---|---|---|---|
| |||
176 | 176 | | |
177 | 177 | | |
178 | 178 | | |
| 179 | + | |
| 180 | + | |
| 181 | + | |
| 182 | + | |
| 183 | + | |
| 184 | + | |
| 185 | + | |
| 186 | + | |
| 187 | + | |
| 188 | + | |
179 | 189 | | |
180 | 190 | | |
181 | 191 | | |
| |||
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 | |
|---|---|---|---|
| |||
2289 | 2289 | | |
2290 | 2290 | | |
2291 | 2291 | | |
2292 | | - | |
| 2292 | + | |
| 2293 | + | |
2293 | 2294 | | |
2294 | 2295 | | |
2295 | 2296 | | |
2296 | 2297 | | |
2297 | 2298 | | |
2298 | 2299 | | |
2299 | 2300 | | |
2300 | | - | |
| 2301 | + | |
| 2302 | + | |
| 2303 | + | |
| 2304 | + | |
| 2305 | + | |
| 2306 | + | |
| 2307 | + | |
| 2308 | + | |
| 2309 | + | |
| 2310 | + | |
| 2311 | + | |
| 2312 | + | |
| 2313 | + | |
| 2314 | + | |
| 2315 | + | |
2301 | 2316 | | |
2302 | 2317 | | |
2303 | 2318 | | |
| 2319 | + | |
2304 | 2320 | | |
2305 | 2321 | | |
2306 | 2322 | | |
2307 | 2323 | | |
2308 | | - | |
| 2324 | + | |
2309 | 2325 | | |
2310 | 2326 | | |
2311 | 2327 | | |
2312 | 2328 | | |
2313 | | - | |
| 2329 | + | |
2314 | 2330 | | |
| 2331 | + | |
2315 | 2332 | | |
2316 | 2333 | | |
2317 | 2334 | | |
| 2335 | + | |
2318 | 2336 | | |
2319 | 2337 | | |
2320 | 2338 | | |
| |||
0 commit comments