Movatterモバイル変換


[0]ホーム

URL:


homepage

Issue21549

This issue trackerhas been migrated toGitHub, and is currentlyread-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

classification
Title:Add the members parameter for TarFile.list()
Type:enhancementStage:resolved
Components:Library (Lib)Versions:Python 3.5
process
Status:closedResolution:fixed
Dependencies:Superseder:
Assigned To: serhiy.storchakaNosy List: lars.gustaebel, python-dev, serhiy.storchaka
Priority:normalKeywords:patch

Created on2014-05-21 10:30 byserhiy.storchaka, last changed2022-04-11 14:58 byadmin. This issue is nowclosed.

Files
File nameUploadedDescriptionEdit
tarfile_list_members_2.patchserhiy.storchaka,2014-08-17 17:16review
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
Seeissue21550 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 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)*(Python committer)Date: 2014-08-21 07:10
Thank you Berker for the review.
History
DateUserActionArgs
2022-04-11 14:58:03adminsetgithub: 65748
2014-08-21 07:10:55serhiy.storchakasetstatus: open -> closed
resolution: fixed
messages: +msg225603

stage: commit review -> resolved
2014-08-21 07:02:45python-devsetnosy: +python-dev
messages: +msg225602
2014-08-20 10:21:16berker.peksagsetstage: patch review -> commit review
2014-08-17 17:19:15serhiy.storchakasetfiles: -tarfile_list_members.patch
2014-08-17 17:16:09serhiy.storchakasetfiles: +tarfile_list_members_2.patch

messages: +msg225452
2014-08-17 17:12:33serhiy.storchakasetassignee:serhiy.storchaka
2014-05-21 10:50:50serhiy.storchakasetmessages: +msg218868
2014-05-21 10:50:09serhiy.storchakalinkissue21550 dependencies
2014-05-21 10:30:23serhiy.storchakacreate
Supported byThe Python Software Foundation,
Powered byRoundup
Copyright © 1990-2022,Python Software Foundation
Legal Statements

[8]ページ先頭

©2009-2026 Movatter.jp