Hamza T Khan added the comment:

Here is trivial fix for this issue. This is my first patch and I hope that it 
gets accepted and integrated.

hamza@hamza-ub94:~/git/cpython$ grep compresslevel Lib/tarfile.py
    def gzopen(cls, name, mode="r", fileobj=None, compresslevel=9, **kwargs):
            fileobj = gzip.GzipFile(name, mode + "b", compresslevel, fileobj)
    def bz2open(cls, name, mode="r", fileobj=None, compresslevel=9, **kwargs):
                              compresslevel=compresslevel)
hamza@hamza-ub94:~/git/cpython$

----------
hgrepos: +330
keywords: +patch
nosy: +hamzatkhan94
Added file: http://bugs.python.org/file41499/Issue25496.v1.patch

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue25496>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to