New submission from Serhiy Storchaka: ReadError can be raised when open a tarfile in write mode (e.g. 'w:gz'). Here is a patch wish a test. In additional it rewrites the handling errors in gzopen() which is too complicated now. This complication is possible the cause of bugs #11513 and #20238.
---------- assignee: serhiy.storchaka components: Library (Lib) files: tarfile_readerror_write_mode.patch keywords: patch messages: 208044 nosy: georg.brandl, lars.gustaebel, serhiy.storchaka priority: normal severity: normal stage: patch review status: open title: ReadError when open a tarfile for writing type: behavior versions: Python 2.7, Python 3.3, Python 3.4 Added file: http://bugs.python.org/file33449/tarfile_readerror_write_mode.patch _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue20243> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com