[New-bugs-announce] [issue21549] Add the members parameter for TarFile.list()

Serhiy Storchaka report at bugs.python.org
Wed May 21 12:30:23 CEST 2014


New submission from Serhiy Storchaka:

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().

----------
components: Library (Lib)
files: tarfile_list_members.patch
keywords: patch
messages: 218866
nosy: lars.gustaebel, serhiy.storchaka
priority: normal
severity: normal
stage: patch review
status: open
title: Add the members parameter for TarFile.list()
type: enhancement
versions: Python 3.5
Added file: http://bugs.python.org/file35307/tarfile_list_members.patch

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue21549>
_______________________________________


More information about the New-bugs-announce mailing list