Commit graph

12 commits

Author SHA1 Message Date
Andrew M. Kuchling
ca2413e2ad Punctuation fix 2010-04-11 01:40:06 +00:00
Lars Gustäbel
6458104188 Issue #7232: Add support for the context manager protocol
to the TarFile class.
2010-03-03 11:55:48 +00:00
Andrew M. Kuchling
f5852f59d9 Fix narkup 2009-10-05 21:24:35 +00:00
Lars Gustäbel
21121e64b4 Issue #6856: Add a filter keyword argument to TarFile.add().
The filter argument must be a function that takes a TarInfo
object argument, changes it and returns it again. If the
function returns None the TarInfo object will be excluded
from the archive.
The exclude argument is deprecated from now on, because it
does something similar but is not as flexible.
2009-09-12 10:28:15 +00:00
Georg Brandl
cf5608df81 #5821: add some capabilities of TarFile's file-like object. 2009-04-25 15:05:04 +00:00
Lars Gustäbel
727bd0b687 Issue #3039: Fix TarFileCompat.writestr() which always raised an
AttributeError since __slots__ were added to zipfile.ZipInfo in
r46967 two years ago.
Add a warning about the removal of TarFileCompat in Python 3.0.
2008-08-02 11:26:39 +00:00
Lars Gustäbel
4bfb59390c Replace signatures with optional arguments in square brackets with
keyword arguments and the actual default values.
Fix references that point nowhere or to the wrong place.
Add description of the ENCODING module-level variable.
Fix the URL pointing to the GNU tar manual.
Remove two obsolete examples.
Add an example on how to use a generator with TarFile.extractall().
2008-05-17 16:50:22 +00:00
Georg Brandl
b19be571e0 Some cleanup in the docs. 2007-12-29 10:57:00 +00:00
Georg Brandl
2b92f6bab3 Diverse markup fixes. 2007-12-06 01:52:24 +00:00
Mark Summerfield
aea6e5913b Added cross-references between the various archive file formats. 2007-11-05 09:22:48 +00:00
Lars Gustäbel
89241a3889 Warn about possible risks when extracting untrusted archives. 2007-08-30 20:24:31 +00:00
Georg Brandl
8ec7f65613 Move the 2.6 reST doc tree in place. 2007-08-15 14:28:01 +00:00