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 <rep...@bugs.python.org>
<http://bugs.python.org/issue21549>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to