Skip to content
Snippets Groups Projects
Unverified Commit 8bc26d8c authored by Ma Lin's avatar Ma Lin Committed by GitHub
Browse files

bpo-44439: BZ2File.write()/LZMAFile.write() handle length correctly (GH-26846)


No longer use len() to get the length of the input data. For some buffer protocol objects, the length obtained by using len() is wrong.

Co-authored-by: default avatarMarco Ribeiro <marcoffee@users.noreply.github.com>
parent 0ff487b8
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment