summaryrefslogtreecommitdiffstats
path: root/Lib/tty.py
diff options
context:
space:
mode:
authoranimalize <animalize@users.noreply.github.com>2019-09-12 14:20:37 (GMT)
committerGregory P. Smith <greg@krypto.org>2019-09-12 14:20:37 (GMT)
commit4ffd05d7ec47cfd0d7fc95dce851633be9663255 (patch)
treeaf336a3bd01bf0460ab0b4786790644a4f2251ad /Lib/tty.py
parent2f1b857562b0f1601c9019db74c29b7d7e21ac9f (diff)
downloadcpython-4ffd05d7ec47cfd0d7fc95dce851633be9663255.zip
cpython-4ffd05d7ec47cfd0d7fc95dce851633be9663255.tar.gz
cpython-4ffd05d7ec47cfd0d7fc95dce851633be9663255.tar.bz2
bpo-21872: fix lzma library decompresses data incompletely (GH-14048)
* 1. add test case with wrong behavior * 2. fix bug when max_length == -1 * 3. allow b"" as valid input data for decompress_buf() * 4. when max_length >= 0, let needs_input mechanism works * add more asserts to test case
Diffstat (limited to 'Lib/tty.py')
0 files changed, 0 insertions, 0 deletions