Commit 99fde4f
committed
Make `ZstdFile.__next__` raise `io.UnsupportedOperation` on non-readable
files, consistent with the other read methods and compression modules.
1 parent 66c76fa commit 99fde4f
3 files changed
Lines changed: 6 additions & 0 deletions
File tree
- Lib
- compression/zstd
- test
- Misc/NEWS.d/next/Library
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
246 | 246 | | |
247 | 247 | | |
248 | 248 | | |
| 249 | + | |
249 | 250 | | |
250 | 251 | | |
251 | 252 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2373 | 2373 | | |
2374 | 2374 | | |
2375 | 2375 | | |
| 2376 | + | |
| 2377 | + | |
2376 | 2378 | | |
2377 | 2379 | | |
2378 | 2380 | | |
| |||
Lines changed: 3 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
0 commit comments