Commit 61194f3
pythongh-102956: Fix returning of empty byte strings after seek in zipfile … (pythonGH-103565)
(cherry picked from commit c73b0f3)
Co-authored-by: Jokimax <[email protected]>
pythongh-102956: Fix returning of empty byte strings after seek in zipfile module. This was a regression in 3.12.0 due to a performance enhancement.1 parent 2a28aa1 commit 61194f3
File tree
3 files changed
+22
-5
lines changed- Lib
- test/test_zipfile
- zipfile
- Misc/NEWS.d/next/Library
3 files changed
+22
-5
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2246 | 2246 | | |
2247 | 2247 | | |
2248 | 2248 | | |
| 2249 | + | |
| 2250 | + | |
| 2251 | + | |
| 2252 | + | |
| 2253 | + | |
| 2254 | + | |
| 2255 | + | |
| 2256 | + | |
| 2257 | + | |
| 2258 | + | |
| 2259 | + | |
| 2260 | + | |
| 2261 | + | |
| 2262 | + | |
| 2263 | + | |
| 2264 | + | |
2249 | 2265 | | |
2250 | 2266 | | |
2251 | 2267 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1122 | 1122 | | |
1123 | 1123 | | |
1124 | 1124 | | |
| 1125 | + | |
| 1126 | + | |
| 1127 | + | |
| 1128 | + | |
1125 | 1129 | | |
1126 | | - | |
| 1130 | + | |
1127 | 1131 | | |
1128 | 1132 | | |
1129 | 1133 | | |
| |||
1134 | 1138 | | |
1135 | 1139 | | |
1136 | 1140 | | |
1137 | | - | |
1138 | | - | |
1139 | | - | |
1140 | | - | |
1141 | 1141 | | |
1142 | 1142 | | |
1143 | 1143 | | |
| |||
Lines changed: 1 addition & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
0 commit comments