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.

Author tarek
Recipients lars.gustaebel, tarek
Date 2009-09-07.12:25:23
SpamBayes Score 4.7627435e-09
Marked as misclassified No
Message-id <1252326325.22.0.233890252726.issue6856@psf.upfronthosting.co.za>
In-reply-to
Content
> TarInfo does not need set_uid() or set_gid() methods, 
> both can be set using the uid and gid attributes.

I was thinking about the set_ methods to be able to use
"root" (str) instead of "0" (int) for example, like 
what the tar command seems to allow with --uid and --gid.


> I am not against adding a new option. Although, it's too bad that 
> I added the exclude option in 2.6 not long ago, which does 
> something very similar and would again be replaced by this 
> more general "include" option. BTW, I think calling 
> the option "filter" would be more suitable for what it's doing.

Maybe we could add the "filter" option for 2.7/3.2 together with the
exclude option? And add a deprecation warning for "exclude" when it's
used, since it would then become *one* use case for "filter".

We could also add an exclude callable in the module, as an example
usage of the filter option, exactly like I did for shutil.copytree
(look for ignore_patterns).
History
Date User Action Args
2009-09-07 12:25:25tareksetrecipients: + tarek, lars.gustaebel
2009-09-07 12:25:25tareksetmessageid: <1252326325.22.0.233890252726.issue6856@psf.upfronthosting.co.za>
2009-09-07 12:25:23tareklinkissue6856 messages
2009-09-07 12:25:23tarekcreate