diff options
author | Ma Lin <animalize@users.noreply.github.com> | 2021-06-22 13:57:41 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-06-22 13:57:41 (GMT) |
commit | 8bc26d8c9d092840054f57f9b4620de0d40d8423 (patch) | |
tree | 3dc513f095270c7efc8d44fcb02e4dc0349f23df /Python/getopt.c | |
parent | 0ff487b8abe70f091285acf367b795861eed8049 (diff) | |
download | cpython-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/getopt.c')
0 files changed, 0 insertions, 0 deletions