Author Jeffrey.Kintscher
Recipients Esa.Peuha, Jeffrey.Kintscher, Ma Lin, akira, josh.r, kenorb, maubp, nadeem.vawda, peremen, serhiy.storchaka, vnummela
Date 2019-06-04.07:07:01
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1559632021.49.0.298779453278.issue21872@roundup.psfhosted.org>
In-reply-to
Content
I adapted the example in msg221784:


with open('22h_ticks_bad.bi5', 'rb') as f:
    infile = f.read()

for i in range(1, 9000):
    decompressor = _lzma.LZMADecompressor()
    first_out = decompressor.decompress(infile[:i])
    first_len = len(first_out)
    last_out = decompressor.decompress(infile[i:])
    last_len = len(last_out)
    if not decompressor.eof:
        print(i, first_len, first_len + last_len, decompressor.eof)


which outputs this using both 3.7.3 and 3.8.0a3+ on macOS 10.14.4:

648 2682 45479 False
1834 7442 45479 False
2766 11667 45473 False
2767 11668 45474 False
3591 15428 45473 False
5051 21743 45473 False
5052 21745 45475 False
5589 24387 45475 False
5590 24388 45476 False
6560 28823 45476 False
6561 28824 45477 False
7327 32325 45474 False
8192 36251 45473 False
8193 36253 45475 False
8368 37283 45475 False
8369 37285 45477 False

So, yes, still an active bug.
History
Date User Action Args
2019-06-04 07:07:01Jeffrey.Kintschersetrecipients: + Jeffrey.Kintscher, nadeem.vawda, akira, maubp, serhiy.storchaka, Esa.Peuha, josh.r, Ma Lin, vnummela, kenorb, peremen
2019-06-04 07:07:01Jeffrey.Kintschersetmessageid: <1559632021.49.0.298779453278.issue21872@roundup.psfhosted.org>
2019-06-04 07:07:01Jeffrey.Kintscherlinkissue21872 messages
2019-06-04 07:07:01Jeffrey.Kintschercreate