summaryrefslogtreecommitdiffstats
path: root/Lib/tarfile.py
Commit message (Collapse)AuthorAgeFilesLines
* bpo-32297: Few misspellings found in Python source code comments. (#4803)Mike2017-12-141-1/+1
| | | | | | | | * Fix multiple typos in code comments * Add spacing in comments (test_logging.py, test_math.py) * Fix spaces at the beginning of comments in test_logging.py
* Remove two legacy constants which hopefully have no consumers (#1087)Alex Gaynor2017-04-121-2/+0
| | | The data contained in them is nonsensical
* bpo-29958: Minor improvements to zipfile and tarfile CLI. (#944)Serhiy Storchaka2017-04-071-9/+6
|
* bpo-29776: Use decorator syntax for properties. (#585)Serhiy Storchaka2017-03-191-6/+10
|
* Issue #29210: Removed support of deprecated argument "exclude" inSerhiy Storchaka2017-01-131-13/+3
| | | | tarfile.TarFile.add().
* Issue #26937: The chown() method of the tarfile.TarFile class does not fail nowXavier de Gaye2016-12-091-12/+19
| | | | when the grp module cannot be imported, as for example on Android platforms.
* Issue #28449: tarfile.open() with mode "r" or "r:" now tries to open a tarSerhiy Storchaka2016-10-301-1/+3
|\ | | | | | | | | file with compression before trying to open it without compression. Otherwise it had 50% chance failed with ignore_zeros=True.
| * Issue #28449: tarfile.open() with mode "r" or "r:" now tries to open a tarSerhiy Storchaka2016-10-301-1/+3
| | | | | | | | | | file with compression before trying to open it without compression. Otherwise it had 50% chance failed with ignore_zeros=True.
* | Issue #27199: TarFile expose copyfileobj bufsize to improve throughputŁukasz Langa2016-09-101-15/+18
| | | | | | | | Patch by Jason Fried.
* | Issue #27355: Removed support for Windows CE. It was never finished,Larry Hastings2016-09-051-1/+1
| | | | | | | | and Windows CE is no longer a relevant platform for Python.
* | Merge 3.5, issue #27194Łukasz Langa2016-06-111-2/+2
|\ \ | |/
| * Issue #27194: superfluous truncate calls in tarfile.py slow down extractionŁukasz Langa2016-06-111-2/+2
| | | | | | | | Patch by Jason Fried.
* | Issue #24838: Merge tarfile fix from 3.5.Lars Gustäbel2016-04-191-14/+15
|\ \ | |/
| * Issue #24838: tarfile's ustar and gnu formats now correctly calculate name andLars Gustäbel2016-04-191-14/+15
| | | | | | | | link field limits for multibyte character encodings like utf-8.
* | Issue #26778: Fixed "a/an/and" typos in code comment, documentation and errorSerhiy Storchaka2016-04-171-2/+2
|\ \ | |/ | | | | messages.
| * Issue #26778: Fixed "a/an/and" typos in code comment and documentation.Serhiy Storchaka2016-04-171-2/+2
| |
* | Issue #22468: Merge gettarinfo() doc from 3.5Martin Panter2016-02-191-10/+11
|\ \ | |/
| * Issues #22468, #21996, #22208: Clarify gettarinfo() and TarInfo usageMartin Panter2016-02-191-10/+11
| | | | | | | | | | | | | | | | * 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 #23883: Add missing APIs to tarfile.__all__Martin Panter2016-01-161-1/+4
| | | | | | | | Patch by Joel Taddei and Jacek Kołodziej.
* | Issue #22227: The TarFile iterator is reimplemented using generator.Serhiy Storchaka2015-12-191-42/+26
|/ | | | This implementation is simpler that using class.
* Issue #22341: Drop Python 2 workaround and document CRC initial valueMartin Panter2015-12-111-7/+1
| | | | Also align the parameter naming in binascii to be consistent with zlib.
* Merge with 3.4: Issue #24259: tarfile now raises a ReadError if an archive ↵Lars Gustäbel2015-07-061-7/+15
|\ | | | | | | is truncated inside a data segment.
| * Issue #24259: tarfile now raises a ReadError if an archive is truncated ↵Lars Gustäbel2015-07-061-7/+15
| | | | | | | | inside a data segment.
* | Merge with 3.4: Issue #24514: tarfile now tolerates number fields consisting ↵Lars Gustäbel2015-07-021-1/+2
|\ \ | |/ | | | | of only whitespace.
| * Issue #24514: tarfile now tolerates number fields consisting of only whitespace.Lars Gustäbel2015-07-021-1/+2
| |
* | tarfile.open() with mode 'x' created files without an end of archive marker.Lars Gustäbel2015-05-271-2/+2
| |
* | Issue 23193: Add numeric_owner to tarfile.TarFile.extract() and ↵Eric V. Smith2015-04-151-17/+28
| | | | | | | | tarfile.TarFile.extractall().
* | Issue #23865: close() methods in multiple modules now are idempotent and moreSerhiy Storchaka2015-04-101-30/+31
|\ \ | |/ | | | | | | robust at shutdown. If needs to release multiple resources, they are released even if errors are occured.
| * Issue #23865: close() methods in multiple modules now are idempotent and moreSerhiy Storchaka2015-04-101-30/+31
| | | | | | | | | | robust at shutdown. If needs to release multiple resources, they are released even if errors are occured.
* | Issue #23615: Modules bz2, tarfile and tokenize now can be reloaded withSerhiy Storchaka2015-03-111-1/+1
|\ \ | |/ | | | | imp.reload(). Patch by Thomas Kluyver.
| * Issue #23615: Modules bz2, tarfile and tokenize now can be reloaded withSerhiy Storchaka2015-03-111-1/+1
| | | | | | | | imp.reload(). Patch by Thomas Kluyver.
* | Issue #21717: tarfile.open() now supports 'x' (exclusive creation) mode.Berker Peksag2015-02-131-14/+23
| |
* | Issue #23421: Fixed compression in tarfile CLI. Patch by wdv4758h.Serhiy Storchaka2015-02-101-8/+8
|\ \ | |/
| * Issue #23421: Fixed compression in tarfile CLI. Patch by wdv4758h.Serhiy Storchaka2015-02-101-8/+8
| |
* | Issue #21549: Added the "members" parameter to TarFile.list().Serhiy Storchaka2014-08-211-3/+6
|/
* Issue 21044: tarfile.open() now handles fileobj with an integer 'name'Serhiy Storchaka2014-07-161-1/+2
| | | | attribute. Based on patch by Martin Panter.
* Issue #20976: pyflakes: Remove unused importsVictor Stinner2014-03-201-2/+0
|
* Issue #19920: TarFile.list() no longer fails when outputs a listingSerhiy Storchaka2014-02-051-11/+17
|\ | | | | | | | | containing non-encodable characters. Added tests for TarFile.list(). Based on patch by Vajrasky Kok.
| * Issue #19920: TarFile.list() no longer fails when outputs a listingSerhiy Storchaka2014-02-051-11/+17
| | | | | | | | | | containing non-encodable characters. Added tests for TarFile.list(). Based on patch by Vajrasky Kok.
* | Issue #20244: Fixed possible file leaks when unexpected error raised inSerhiy Storchaka2014-01-181-0/+6
|\ \ | |/ | | | | tarfile open functions.
| * Issue #20244: Fixed possible file leaks when unexpected error raised inSerhiy Storchaka2014-01-181-0/+6
| | | | | | | | tarfile open functions.
* | Issue #20243: TarFile no longer raise ReadError when opened in write mode.Serhiy Storchaka2014-01-181-10/+17
|\ \ | |/
| * Issue #20243: TarFile no longer raise ReadError when opened in write mode.Serhiy Storchaka2014-01-181-11/+18
| |
* | Issue #20238: TarFile opened with external fileobj and "w:gz" mode didn'tSerhiy Storchaka2014-01-181-1/+1
|\ \ | |/ | | | | write complete output on close.
| * Issue #20238: TarFile opened with external fileobj and "w:gz" mode didn'tSerhiy Storchaka2014-01-181-1/+1
| | | | | | | | write complete output on close.
* | Issue #20245: The open functions in the tarfile module now correctly handle ↵Serhiy Storchaka2014-01-181-7/+8
|\ \ | |/ | | | | empty mode.
| * Issue #20245: The open functions in the tarfile module now correctly handle ↵Serhiy Storchaka2014-01-181-7/+8
| | | | | | | | empty mode.
* | Issue #19936: Added executable bits or shebang lines to Python scripts whichSerhiy Storchaka2014-01-161-0/+0
|\ \ | |/ | | | | | | | | | | requires them. Disable executable bits and shebang lines in test and benchmark files in order to prevent using a random system python, and in source files of modules which don't provide command line interface. Fixed shebang lines in the unittestgui and checkpip scripts.
| * Issue #19936: Added executable bits or shebang lines to Python scripts whichSerhiy Storchaka2014-01-161-0/+0
| | | | | | | | | | | | | | requires them. Disable executable bits and shebang lines in test and benchmark files in order to prevent using a random system python, and in source files of modules which don't provide command line interface. Fixed shebang line to use python3 executable in the unittestgui script.
* | Issue19995: %o, %x, %X now only accept intsEthan Furman2014-01-051-1/+1
| |