◐ Shell
clean mode source ↗

Message 208850 - Python tracker

The bz2 patch looks good to me, aside from a nit with the docstring for
BZ2Compressor.__init__.

The lzma patch produces a bunch of test failures for me. It looks like
the __init__ methods for LZMACompressor and LZMADecompressor aren't
accepting keyword args:

    ☿ ./python -c 'import lzma; lzma.LZMACompressor(format=lzma.FORMAT_XZ)'                                                                                                                                                                                                                
    Traceback (most recent call last):
      File "<string>", line 1, in <module>
    TypeError: __init__ does not take keyword arguments

    ☿ ./python -c 'import lzma; lzma.LZMADecompressor(format=lzma.FORMAT_AUTO)'                                                                                                                                                                                                            
    Traceback (most recent call last):
      File "<string>", line 1, in <module>
    TypeError: __init__ does not take keyword arguments