Message 325694 - Python tracker
I somehow failed to notice #23224 when I searched the tracker. You're right, it's the same, and, moreover, PR 7822 fixes problem with both compressors and decompressors (though it includes tests only for the latter for some reason). I think that this report should be closed as duplicate, but should we also change the title of #23224 to be more general?