
This issue trackerhas been migrated toGitHub, and is currentlyread-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.
Created on2014-05-21 10:30 byserhiy.storchaka, last changed2022-04-11 14:58 byadmin. This issue is nowclosed.
| 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)*![]() | 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)*![]() | Date: 2014-05-21 10:50 | |
Seeissue21550 for example. | |||
| msg225452 -(view) | Author: Serhiy Storchaka (serhiy.storchaka)*![]() | 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)![]() | Date: 2014-08-21 07:02 | |
New changeset5875c50e93fe 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)*![]() | 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 | |