Skip to content

[3.10] bpo-44439: BZ2File.write() / LZMAFile.write() handle buffer protocol correctly (GH-26764)#26845

Merged
serhiy-storchaka merged 1 commit into
python:3.10from
miss-islington:backport-bc6c12c-3.10
Jun 22, 2021
Merged

[3.10] bpo-44439: BZ2File.write() / LZMAFile.write() handle buffer protocol correctly (GH-26764)#26845
serhiy-storchaka merged 1 commit into
python:3.10from
miss-islington:backport-bc6c12c-3.10

Conversation

@miss-islington
Copy link
Copy Markdown
Contributor

@miss-islington miss-islington commented Jun 22, 2021

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.
(cherry picked from commit bc6c12c)

Co-authored-by: Ma Lin animalize@users.noreply.github.com

https://bugs.python.org/issue44439

…correctly (pythonGH-26764)

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.
(cherry picked from commit bc6c12c)

Co-authored-by: Ma Lin <animalize@users.noreply.github.com>
@miss-islington
Copy link
Copy Markdown
Contributor Author

@animalize and @serhiy-storchaka: Status check is done, and it's a success ✅ .

@miss-islington
Copy link
Copy Markdown
Contributor Author

@animalize and @serhiy-storchaka: Status check is done, and it's a success ✅ .

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants