This issue tracker has been migrated to GitHub ,
and is currently read-only.
For more information,
see the GitHub FAQs in the Python's Developer Guide.
Created on 2014年05月21日 10:30 by serhiy.storchaka, last changed 2022年04月11日 14:58 by admin. This issue is now closed.
| Files | ||||
|---|---|---|---|---|
| File name | Uploaded | Description | Edit | |
| tarfile_list_members_2.patch | serhiy.storchaka, 2014年08月17日 17:16 | review | ||
| Messages (5) | |||
|---|---|---|---|
| msg218866 - (view) | Author: Serhiy Storchaka (serhiy.storchaka) * (Python committer) | Date: 2014年05月21日 10:30 | |
The proposed patch adds the members parameter for TarFile.list() with the same meaning as in TarFile.extractall(). This is needed for implementing the tar command utility which allows filtering and transforming an output (e.g. output numerical ids instead names for owner/group). An alternative approach is to add the filter parameter (as in TarFile.add()) to both TarFile.list() and TarFile.extractall(). |
|||
| msg218868 - (view) | Author: Serhiy Storchaka (serhiy.storchaka) * (Python committer) | Date: 2014年05月21日 10:50 | |
See issue21550 for example. |
|||
| msg225452 - (view) | Author: Serhiy Storchaka (serhiy.storchaka) * (Python committer) | Date: 2014年08月17日 17:16 | |
Added a test. Make the members parameter keyword-only. If there are no objections I'll commit the patch soon. |
|||
| msg225602 - (view) | Author: Roundup Robot (python-dev) (Python triager) | Date: 2014年08月21日 07:02 | |
New changeset 5875c50e93fe by Serhiy Storchaka in branch 'default': Issue #21549: Added the "members" parameter to TarFile.list(). http://hg.python.org/cpython/rev/5875c50e93fe |
|||
| msg225603 - (view) | Author: Serhiy Storchaka (serhiy.storchaka) * (Python committer) | Date: 2014年08月21日 07:10 | |
Thank you Berker for the review. |
|||
| History | |||
|---|---|---|---|
| Date | User | Action | Args |
| 2022年04月11日 14:58:03 | admin | set | github: 65748 |
| 2014年08月21日 07:10:55 | serhiy.storchaka | set | status: open -> closed resolution: fixed messages: + msg225603 stage: commit review -> resolved |
| 2014年08月21日 07:02:45 | python-dev | set | nosy:
+ python-dev messages: + msg225602 |
| 2014年08月20日 10:21:16 | berker.peksag | set | stage: patch review -> commit review |
| 2014年08月17日 17:19:15 | serhiy.storchaka | set | files: - tarfile_list_members.patch |
| 2014年08月17日 17:16:09 | serhiy.storchaka | set | files:
+ tarfile_list_members_2.patch messages: + msg225452 |
| 2014年08月17日 17:12:33 | serhiy.storchaka | set | assignee: serhiy.storchaka |
| 2014年05月21日 10:50:50 | serhiy.storchaka | set | messages: + msg218868 |
| 2014年05月21日 10:50:09 | serhiy.storchaka | link | issue21550 dependencies |
| 2014年05月21日 10:30:23 | serhiy.storchaka | create | |