Ma Lin <malin...@163.com> added the comment:
Sorry, I found an omission. The previous PRs fixed the bug in these methods: zlib.Compress.compress() zlib.Decompress.decompress() This method also has this bug, fix in PR29587 (main/3.10) and PR29588 (3.9-): zlib.Decompress.flush() Attached file `test_flush.py` can reliably reproduce the bug. This time I carefully checked bz2/lzma/zlib modules, it should be no problem anymore. Gregory P. Smith should understand these codes, add him to nosy list. ---------- nosy: +gregory.p.smith resolution: fixed -> later status: closed -> open Added file: https://bugs.python.org/file50445/test_flush.py _______________________________________ Python tracker <rep...@bugs.python.org> <https://bugs.python.org/issue41735> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com