[issue18575] Fixing tarfile._mode when using gzip via ":gz"

2013-09-20 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Perhaps we should rather change GzipFile.mode to be a string? -- ___ Python tracker ___ ___ Python

[issue18575] Fixing tarfile._mode when using gzip via ":gz"

2013-08-02 Thread Jesús Cea Avión
Changes by Jesús Cea Avión : -- nosy: +jcea ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.

[issue18575] Fixing tarfile._mode when using gzip via ":gz"

2013-07-28 Thread Serhiy Storchaka
Changes by Serhiy Storchaka : -- dependencies: +Multivolume support in tarfile module nosy: +serhiy.storchaka stage: -> patch review type: -> behavior ___ Python tracker ___ __

[issue18575] Fixing tarfile._mode when using gzip via ":gz"

2013-07-28 Thread Ned Deily
Changes by Ned Deily : -- nosy: +lars.gustaebel ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.pyt

[issue18575] Fixing tarfile._mode when using gzip via ":gz"

2013-07-28 Thread Eduardo Robles Elvira
Eduardo Robles Elvira added the comment: Fixing gzip.patch, it was using basestring (python2) instead of str -- Added file: http://bugs.python.org/file31062/gzip.patch ___ Python tracker __

[issue18575] Fixing tarfile._mode when using gzip via ":gz"

2013-07-28 Thread Eduardo Robles Elvira
Changes by Eduardo Robles Elvira : Removed file: http://bugs.python.org/file31061/gzip.patch ___ Python tracker ___ ___ Python-bugs-list maili

[issue18575] Fixing tarfile._mode when using gzip via ":gz"

2013-07-28 Thread Eduardo Robles Elvira
New submission from Eduardo Robles Elvira: A TarFile object constructor accepts a fileobj argument. When this argument is set and it has a "mode" property, tarfile._mode is blindly copied from there. Otherwise, mode is set using the mode argument in the constructor. This usually works, but in