[issue34729] bz2/lzma: Compressor/decompressor crash if __init__ is not called

Berker Peksag report at bugs.python.org
Tue Sep 18 19:09:12 EDT 2018


Berker Peksag <berker.peksag at gmail.com> added the comment:

I think we usually went with option 1 when we fixed similar issues in the past.

See also issue 23224 for the same problem in *Decompressor classes of lzma and bz2 modules. It looks like the attached PR to that issue went with option 2: PR 7822.

Perhaps we can combine this and issue 23224.

----------
resolution:  -> duplicate
stage:  -> needs patch
superseder:  -> LZMADecompressor object is only initialized in __init__

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue34729>
_______________________________________


More information about the Python-bugs-list mailing list