diff options
author | Bénédikt Tran <10796600+picnixz@users.noreply.github.com> | 2024-11-24 16:36:15 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-11-24 16:36:15 (GMT) |
commit | e0ef08f5b444950ad9e900b27f5b5dbc706f4459 (patch) | |
tree | 00a5c9b4c3905591f7a0b43c0264a69ed5c8c57d /Misc/NEWS.d | |
parent | 3d8ac48aed6e27c43bf5d037018edcc31d9e66d8 (diff) | |
download | cpython-e0ef08f5b444950ad9e900b27f5b5dbc706f4459.zip cpython-e0ef08f5b444950ad9e900b27f5b5dbc706f4459.tar.gz cpython-e0ef08f5b444950ad9e900b27f5b5dbc706f4459.tar.bz2 |
gh-122356: restore the position of a file-like object after `zipfile.is_zipfile` (#122397)
Diffstat (limited to 'Misc/NEWS.d')
-rw-r--r-- | Misc/NEWS.d/next/Library/2024-07-29-15-20-30.gh-issue-122356.wKCmFx.rst | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/Misc/NEWS.d/next/Library/2024-07-29-15-20-30.gh-issue-122356.wKCmFx.rst b/Misc/NEWS.d/next/Library/2024-07-29-15-20-30.gh-issue-122356.wKCmFx.rst new file mode 100644 index 0000000..0a4632c --- /dev/null +++ b/Misc/NEWS.d/next/Library/2024-07-29-15-20-30.gh-issue-122356.wKCmFx.rst @@ -0,0 +1,3 @@ +Guarantee that the position of a file-like object passed to +:func:`zipfile.is_zipfile` is left untouched after the call. +Patch by Bénédikt Tran. |