summaryrefslogtreecommitdiffstats
path: root/Doc/library/tarfile.rst
Commit message (Collapse)AuthorAgeFilesLines
* bpo-30661: Improve docs for tarfile pax change and effect on shutil (GH-12635)CAM Gerlach2019-04-071-11/+12
| | | | The shutil archive creation helpers use the default tarfile format, so that API is also switching to use `pax` by default.
* bpo-36268: Change default tar format to pax from GNU. (GH-12355)CAM Gerlach2019-03-211-4/+10
|
* bpo-30693: zip+tarfile: sort directory listing (#2263)Bernhard M. Wiedemann2018-01-311-1/+5
| | | | | | tarfile and zipfile now sort directory listing to generate tar and zip archives in a more reproducible way. See also https://reproducible-builds.org/docs/stable-inputs/ on that topic.
* bpo-28230: Document the pathlib support in tarfile and add tests. (#512)Serhiy Storchaka2017-03-081-4/+24
|
* Issue #29210: Removed support of deprecated argument "exclude" inSerhiy Storchaka2017-01-131-9/+2
| | | | tarfile.TarFile.add().
* Issue #28678: Fix references to numeric_owner parameterMartin Panter2016-11-131-2/+2
|
* Fixed hyperlinks for tarfile CLI options.Serhiy Storchaka2016-11-021-6/+7
|
* Issue #26462: Doc: reduce literal_block warnings, fix syntax highlighting.Martin Panter2016-07-261-5/+15
| | | | Patch by Julien Palard.
* Issue #27306: Fix typo in tarfile documentationBerker Peksag2016-06-131-7/+7
| | | | Patch by Gareth Rees.
* Issue #22558: Add remaining doc links to source code for Python-coded modules.Terry Jan Reedy2016-06-111-1/+0
| | | | | Reformat header above separator line (added if missing) to a common format. Patch by Yoni Lavi.
* Issue #26736: Used HTTPS for external links in the documentation if possible.Serhiy Storchaka2016-05-071-1/+1
|
* Issue #26778: Fixed "a/an/and" typos in code comment and documentation.Serhiy Storchaka2016-04-171-1/+1
|
* Issue #25496: Document compresslevel defaults to 9, by Hamza T KhanMartin Panter2016-04-131-1/+1
|
* Issues #22468, #21996, #22208: Clarify gettarinfo() and TarInfo usageMartin Panter2016-02-191-10/+17
| | | | | | | | * The Windows-specific binary notice was probably a Python 2 thing * Make it more obvious gettarinfo() is based on stat(), and that non-ordinary files may need special care * The file name must be text; suggest dummy arcname as a workaround * Indicate TarInfo may be used directly, not just via gettarinfo()
* Issue #26304: Change "allows to <verb>" to "allows <verb>ing" or similarMartin Panter2016-02-101-1/+1
| | | | | The original form is incorrect grammar and feels awkward, even though the meaning is clear.
* Mark TarInfo.frombuf() and TarInfo.fromtarfile() as classmethods.Berker Peksag2015-04-191-3/+3
|\
| * Mark TarInfo.frombuf() and TarInfo.fromtarfile() as classmethods.Berker Peksag2015-04-191-3/+3
| |
* | Issue #15566: Document encoding and errors parameters of TarInfo.frombuf().Berker Peksag2015-04-191-1/+1
|\ \ | |/ | | | | Patch by Andy Holst.
| * Issue #15566: Document encoding and errors parameters of TarInfo.frombuf().Berker Peksag2015-04-191-1/+1
| | | | | | | | Patch by Andy Holst.
* | Issue 23193: Add numeric_owner to tarfile.TarFile.extract() and ↵Eric V. Smith2015-04-151-3/+16
| | | | | | | | tarfile.TarFile.extractall().
* | Issue #21717: tarfile.open() now supports 'x' (exclusive creation) mode.Berker Peksag2015-02-131-8/+29
| |
* | Merge issue 19548 changes from 3.4Nick Coghlan2015-01-061-1/+1
|\ \ | |/
| * Issue 19548: update codecs module documentationNick Coghlan2015-01-061-1/+1
| | | | | | | | | | | | | | | | - clarified the distinction between text encodings and other codecs - clarified relationship with builtin open and the io module - consolidated documentation of error handlers into one section - clarified type constraints of some behaviours - added tests for some of the new statements in the docs
* | Merge: #14056: Small improvements to the tarfile documentation.R David Murray2014-10-041-10/+13
|\ \ | |/
| * #14056: Small improvements to the tarfile documentation.R David Murray2014-10-041-10/+13
| | | | | | | | Patch by Éric Araujo with help from Lars Gustäbel.
* | Issue #22369: Change "context manager protocol" to "context management ↵Serhiy Storchaka2014-09-101-1/+1
|\ \ | |/ | | | | protocol".
| * Issue #22369: Change "context manager protocol" to "context management ↵Serhiy Storchaka2014-09-101-1/+1
| | | | | | | | protocol".
* | Issue #21549: Added the "members" parameter to TarFile.list().Serhiy Storchaka2014-08-211-2/+6
|/
* document the compress_level argument to tarfile.open (closes #21404)Benjamin Peterson2014-06-071-0/+4
| | | | Patch by Katherine Busch.
* Issue 21479: Fix markup for the TarFile.open() classmethod.Raymond Hettinger2014-05-231-1/+1
|
* Issue 21198: Minor tarfile documentation bug.Raymond Hettinger2014-05-221-1/+1
|
* Issue #19795: Improved markup of True/False constants.Serhiy Storchaka2013-11-291-1/+1
|\
| * Issue #19795: Improved markup of True/False constants.Serhiy Storchaka2013-11-291-1/+1
| |
* | Issue #13477: Added command line interface to the tarfile module.Serhiy Storchaka2013-11-231-0/+61
|/ | | | Original patch by Berker Peksag.
* Issue #17193: Use binary prefixes (KiB, MiB, GiB) for memory units.Serhiy Storchaka2013-02-161-2/+2
|
* Issue #13815: TarFile.extractfile() now returns io.BufferedReader objects.Lars Gustäbel2012-05-051-8/+5
| | | | The ExFileObject class was removed, some of its code went into _FileInFile.
* Merge edits from 3.2 (#13716, #1040439, #2945, #13770, #6715)Éric Araujo2012-02-051-1/+2
|\
| * Improve interlinking of archiving/compression modules docs.Éric Araujo2012-01-161-1/+2
| | | | | | | | | | | | | | | | | | | | - Remove duplicated list of links to the other modules from each module’s doc (people can already go up to library/archiving and there they can see the list). - Link to shutil high-level operations. Reviewed by Nadeem Vawda in #6715.
* | Add missing versionchanged information.Lars Gustäbel2011-12-121-0/+3
| |
* | Issue #5689: Add support for lzma compression to the tarfile module.Lars Gustäbel2011-12-101-6/+16
| |
* | Merge with 3.2: Fix doc typo.Lars Gustäbel2011-12-101-2/+2
|\ \ | |/
| * Fix doc typo.Lars Gustäbel2011-12-101-2/+2
| |
* | Replace mentions of IOErrorAntoine Pitrou2011-10-121-3/+3
|/
* More source links.Raymond Hettinger2011-01-271-0/+3
|
* Issue #11014: Make 'filter' argument in tarfile.Tarfile.add() into aRaymond Hettinger2011-01-261-13/+14
| | | | | | | keyword-only argument. The preceding positional argument was deprecated, so it made no sense to add filter as a positional argument. (Patch reviewed by Brian Curtin and Anthony Long.)
* Issue #10184: Touch directories only once when extracting a tarfile.Martin v. Löwis2010-11-011-2/+5
|
* Add read support for all missing variants of the GNU sparseLars Gustäbel2010-10-291-1/+2
| | | | | | | | extensions. Thus, in addition to GNUTYPE_SPARSE headers, sparse information in pax headers created by GNU tar can now be decoded. All three formats 0.0, 0.1 and 1.0 are supported. On filesystems that support this, holes in files are now restored whenever a sparse member is extracted.
* Add cross-references to the glossary entry for file objects.Antoine Pitrou2010-09-151-9/+9
|
* Issue #8784: Set tarfile default encoding to 'utf-8' on Windows.Victor Stinner2010-06-111-2/+2
| | | | Note: file system encoding cannot be None anymore (since r81190, issue #8610).
* Issue #8633: Support for POSIX.1-2008 binary pax headers.Lars Gustäbel2010-05-171-3/+5
| | | | | | | | | | | | | | tarfile is now able to read and write pax headers with a "hdrcharset=BINARY" record. This record was introduced in POSIX.1-2008 as a method to store unencoded binary strings that cannot be translated to UTF-8. In practice, this is just a workaround that allows a tar implementation to store filenames that do not comply with the current filesystem encoding and thus cannot be decoded correctly. Additionally, tarfile works around a bug in current versions of GNU tar: undecodable filenames are stored as-is in a pax header without a "hdrcharset" record being added. Technically, these headers are invalid, but tarfile manages to read them correctly anyway.