mirror of
https://github.com/python/cpython.git
synced 2026-07-21 09:27:18 -04:00
7d8783bd9f
gh-153037: Make ZstdFile.__next__ raise io.UnsupportedOperation on non-readable files (GH-153045)
Make `ZstdFile.__next__` raise `io.UnsupportedOperation` on non-readable files, consistent with other compression modules.
(cherry picked from commit ed716551e1)
Co-authored-by: Łukasz <lukaszlapinski7@gmail.com>