summaryrefslogtreecommitdiffstats
path: root/Python/errors.c
diff options
context:
space:
mode:
authorMa Lin <animalize@users.noreply.github.com>2021-06-22 13:57:41 (GMT)
committerGitHub <noreply@github.com>2021-06-22 13:57:41 (GMT)
commit8bc26d8c9d092840054f57f9b4620de0d40d8423 (patch)
tree3dc513f095270c7efc8d44fcb02e4dc0349f23df /Python/errors.c
parent0ff487b8abe70f091285acf367b795861eed8049 (diff)
downloadcpython-8bc26d8c9d092840054f57f9b4620de0d40d8423.zip
cpython-8bc26d8c9d092840054f57f9b4620de0d40d8423.tar.gz
cpython-8bc26d8c9d092840054f57f9b4620de0d40d8423.tar.bz2
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: Marco Ribeiro <marcoffee@users.noreply.github.com>
Diffstat (limited to 'Python/errors.c')
0 files changed, 0 insertions, 0 deletions