Issue 20243: ReadError when open a tarfile for writing (original) (raw)
This issue has been migrated to GitHub: https://github.com/python/cpython/issues/64442
classification
Title: | ReadError when open a tarfile for writing | ||
---|---|---|---|
Type: | behavior | Stage: | resolved |
Components: | Library (Lib) | Versions: | Python 3.3, Python 3.4, Python 2.7 |
process
Status: | closed | Resolution: | fixed |
---|---|---|---|
Dependencies: | [20238](issue20238 "Incomplete gzip output with tarfile.open(fileobj=..., mode="w:gz")") | Superseder: | |
Assigned To: | serhiy.storchaka | Nosy List: | georg.brandl, lars.gustaebel, python-dev, serhiy.storchaka |
Priority: | normal | Keywords: | patch |
Created on 2014-01-13 19:59 by serhiy.storchaka, last changed 2022-04-11 14:57 by admin. This issue is now closed.
Files | |||
---|---|---|---|
File name | Uploaded | Description | Edit |
tarfile_readerror_write_mode.patch | serhiy.storchaka,2014-01-13 19:59 | review |
Messages (2) | ||
---|---|---|
msg208044 - (view) | Author: Serhiy Storchaka (serhiy.storchaka) * ![]() |
Date: 2014-01-13 19:59 |
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. | ||
msg208401 - (view) | Author: Roundup Robot (python-dev) ![]() |
Date: 2014-01-18 14:31 |
New changeset 61b6accbca9f by Serhiy Storchaka in branch '2.7': Issue #20243: TarFile no longer raise ReadError when opened in write mode. http://hg.python.org/cpython/rev/61b6accbca9f New changeset 2f3b47b63f91 by Serhiy Storchaka in branch '3.3': Issue #20243: TarFile no longer raise ReadError when opened in write mode. http://hg.python.org/cpython/rev/2f3b47b63f91 New changeset 40a5c7547c3d by Serhiy Storchaka in branch 'default': Issue #20243: TarFile no longer raise ReadError when opened in write mode. http://hg.python.org/cpython/rev/40a5c7547c3d |
History | |||
---|---|---|---|
Date | User | Action | Args |
2022-04-11 14:57:56 | admin | set | github: 64442 |
2014-01-18 15:19:15 | serhiy.storchaka | set | status: open -> closedresolution: fixedstage: patch review -> resolved |
2014-01-18 14:31:41 | python-dev | set | nosy: + python-devmessages: + |
2014-01-13 20:27:08 | serhiy.storchaka | link | issue20244 dependencies |
2014-01-13 20:01:41 | serhiy.storchaka | set | dependencies: + Incomplete gzip output with tarfile.open(fileobj=..., mode="w:gz") |
2014-01-13 19:59:44 | serhiy.storchaka | create |