summaryrefslogtreecommitdiffstats
path: root/Doc/library/tarfile.rst
Commit message (Collapse)AuthorAgeFilesLines
* Docs: remove redundant "adverb-adjective" hyphens from compound modifiers ↵Ned Batchelder2022-07-051-1/+1
| | | | | (GH-94551) Discussion: https://discuss.python.org/t/slight-grammar-fix-throughout-adverbs-dont-need-hyphen/17021
* bpo-26253: Add compressionlevel to tarfile stream (GH-2962)Yaron de Leeuw2022-06-251-2/+5
| | | | | | `tarfile` already accepts a compressionlevel argument for creating files. This patch adds the same for stream-based tarfile usage. The default is 9, the value that was previously hard-coded.
* bpo-46157: fix typo in docs (GH-30237)Kumar Aditya2021-12-231-4/+4
|
* bpo-32695: Docs and tests for compresslevel and preset kwargs in tarfile ↵Zackery Spytz2021-08-091-0/+3
| | | | | (GH-21470) Co-Authored-By: Bo Bayles <bbayles@gmail.com>
* [doc] Fix erroneous backslashes in signatures and names (GH-23658)Andre Delfino2020-12-171-1/+1
| | | | | The issue being resolved is shown in the 3.10 docs (if you select docs for older versions you won't see a visual glitch). The newer sphinx version that produces the 3.10 docs doesn't treat the backslash to escape things in some situations it previously did.
* bpo-39693: mention KeyError in tarfile extractfile documentation (GH-18639)Andrey Doroschenko2020-10-201-4/+5
| | | Co-authored-by: Andrey Darascheka <andrei.daraschenka@leverx.com>
* bpo-40204: Add :noindex: in the documentation (GH-21859)Victor Stinner2020-08-131-0/+1
| | | | | | | | | | Add :noindex: to duplicated documentation to fix "duplicate object description" errors. For example, fix this Sphinx 3 issue: Doc/library/configparser.rst:1146: WARNING: duplicate object description of configparser.ConfigParser.optionxform, other instance in library/configparser, use :noindex: for one of them
* Fix spacing in docs for tarfile (GH-20629)Harsha Laxman2020-06-041-1/+1
| | | | | | | | | | | | | | | | | Before ``` content.txt is 42 bytes in size and isa regular file. folder is 420 bytes in size and isa directory. magic is 4200 bytes in size and issomething else. ``` After: ``` content.txt is 42 bytes in size and is a regular file. folder is 420 bytes in size and is a directory. magic is 4200 bytes in size and is something else. ``` Automerge-Triggered-By: @orsenthil
* bpo-29435: Allow is_tarfile to take a filelike obj (GH-18090)William Woodruff2020-01-231-1/+4
| | | `is_tarfile()` now supports `name` being a file or file-like object.
* bpo-37408: Precise that Tarfile "format" argument only concerns writing. ↵Pascal Chambon2019-09-281-2/+3
| | | | (GH-14389)
* 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
| |