diff options
author | Ma Lin <animalize@users.noreply.github.com> | 2022-03-08 09:33:56 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-03-08 09:33:56 (GMT) |
commit | 36dd7396fcd26d8bf9919d536d05d7000becbe5b (patch) | |
tree | dbe015f77179a20ed0d3ddae87a5dc3d75a3deee /Misc | |
parent | 591f6754b56cb7f6c31fce8c22528bdf0a99556c (diff) | |
download | cpython-36dd7396fcd26d8bf9919d536d05d7000becbe5b.zip cpython-36dd7396fcd26d8bf9919d536d05d7000becbe5b.tar.gz cpython-36dd7396fcd26d8bf9919d536d05d7000becbe5b.tar.bz2 |
bpo-44439: _ZipWriteFile.write() handle buffer protocol correctly (GH-29468)
Co-authored-by: Marco Ribeiro <marcoffee@users.noreply.github.com>
Diffstat (limited to 'Misc')
-rw-r--r-- | Misc/NEWS.d/next/Library/2021-11-08-20-27-41.bpo-44439.I_8qro.rst | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/Misc/NEWS.d/next/Library/2021-11-08-20-27-41.bpo-44439.I_8qro.rst b/Misc/NEWS.d/next/Library/2021-11-08-20-27-41.bpo-44439.I_8qro.rst new file mode 100644 index 0000000..f4e562c --- /dev/null +++ b/Misc/NEWS.d/next/Library/2021-11-08-20-27-41.bpo-44439.I_8qro.rst @@ -0,0 +1,2 @@ +Fix ``.write()`` method of a member file in ``ZipFile``, when the input data is +an object that supports the buffer protocol, the file length may be wrong. |