bpo-44439: _ZipWriteFile.write() handle buffer protocol correctly (GH-29468)


Co-authored-by: Marco Ribeiro <marcoffee@users.noreply.github.com>
(cherry picked from commit 36dd7396fcd26d8bf9919d536d05d7000becbe5b)

Co-authored-by: Ma Lin <animalize@users.noreply.github.com>
3 files changed