Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | bpo-36268: Change default tar format to pax from GNU. (GH-12355) | CAM Gerlach | 2019-03-21 | 1 | -5/+6 |
| | |||||
* | bpo-22831: Use "with" to avoid possible fd leaks in tests (part 1). (GH-10928) | Serhiy Storchaka | 2019-03-05 | 1 | -67/+60 |
| | |||||
* | bpo-35772: Fix test_tarfile on ppc64 (GH-11606) | Victor Stinner | 2019-01-21 | 1 | -2/+7 |
| | | | | | | | | | | | | | | | Fix sparse file tests of test_tarfile on ppc64le with the tmpfs filesystem. Fix the function testing if the filesystem supports sparse files: create a file which contains data and "holes", instead of creating a file which contains no data. tmpfs effective block size is a page size (tmpfs lives in the page cache). RHEL uses 64 KiB pages on aarch64, ppc64 and ppc64le, only s390x and x86_64 use 4 KiB pages, whereas the test punch holes of 4 KiB. test.pythoninfo: Add resource.getpagesize(). | ||||
* | bpo-32713: Fix tarfile.itn for large/negative float values. (GH-5434) | Joffrey F | 2018-02-27 | 1 | -0/+8 |
| | |||||
* | bpo-30693: Fix tarfile test cleanup on MSWindows (#5557) | Bernhard M. Wiedemann | 2018-02-06 | 1 | -4/+4 |
| | | | it was using our mocked listdir to check when the files were gone. | ||||
* | bpo-30693: zip+tarfile: sort directory listing (#2263) | Bernhard M. Wiedemann | 2018-01-31 | 1 | -0/+24 |
| | | | | | | 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-29181: Skip test_tarfile tests on PermissionError raised by Android ↵ | xdegaye | 2017-11-12 | 1 | -2/+8 |
| | | | | (GH-4375) | ||||
* | Replace KB unit with KiB (#4293) | Victor Stinner | 2017-11-08 | 1 | -2/+2 |
| | | | | | | | | | | | kB (*kilo* byte) unit means 1000 bytes, whereas KiB ("kibibyte") means 1024 bytes. KB was misused: replace kB or KB with KiB when appropriate. Same change for MB and GB which become MiB and GiB. Change the output of Tools/iobench/iobench.py. Round also the size of the documentation from 5.5 MB to 5 MiB. | ||||
* | bpo-29958: Minor improvements to zipfile and tarfile CLI. (#944) | Serhiy Storchaka | 2017-04-07 | 1 | -0/+10 |
| | |||||
* | bpo-28230: Document the pathlib support in tarfile and add tests. (#512) | Serhiy Storchaka | 2017-03-08 | 1 | -0/+76 |
| | |||||
* | Issue #29210: Removed support of deprecated argument "exclude" in | Serhiy Storchaka | 2017-01-13 | 1 | -27/+0 |
| | | | | tarfile.TarFile.add(). | ||||
* | Issue #28449: tarfile.open() with mode "r" or "r:" now tries to open a tar | Serhiy Storchaka | 2016-10-30 | 1 | -1/+7 |
|\ | | | | | | | | | 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 tar | Serhiy Storchaka | 2016-10-30 | 1 | -1/+7 |
| | | | | | | | | | | file with compression before trying to open it without compression. Otherwise it had 50% chance failed with ignore_zeros=True. | ||||
* | | Issue #24838: Merge test_tarfile.py fix from 3.5. | Lars Gustäbel | 2016-04-19 | 1 | -2/+2 |
|\ \ | |/ | |||||
| * | Issue #24838: Fix test_tarfile.py for non-utf8 filesystem encodings. | Lars Gustäbel | 2016-04-19 | 1 | -2/+2 |
| | | |||||
* | | Issue #24838: Merge tarfile fix from 3.5. | Lars Gustäbel | 2016-04-19 | 1 | -5/+82 |
|\ \ | |/ | |||||
| * | Issue #24838: tarfile's ustar and gnu formats now correctly calculate name and | Lars Gustäbel | 2016-04-19 | 1 | -5/+82 |
| | | | | | | | | link field limits for multibyte character encodings like utf-8. | ||||
* | | Issue #23883: grp and pwd are None on Windows | Martin Panter | 2016-01-16 | 1 | -1/+1 |
| | | |||||
* | | Issue #23883: Removed redundant names from blacklists. | Serhiy Storchaka | 2016-01-16 | 1 | -2/+2 |
| | | |||||
* | | Issue #23883: Add missing APIs to tarfile.__all__ | Martin Panter | 2016-01-16 | 1 | -0/+18 |
|/ | | | | Patch by Joel Taddei and Jacek Kołodziej. | ||||
* | Use support.change_cwd() in tests. | Serhiy Storchaka | 2015-09-06 | 1 | -9/+3 |
|\ | |||||
| * | Use support.change_cwd() in tests. | Serhiy Storchaka | 2015-09-06 | 1 | -9/+3 |
| | | |||||
* | | Merge with 3.4: Issue #24259: tarfile now raises a ReadError if an archive ↵ | Lars Gustäbel | 2015-07-06 | 1 | -0/+23 |
|\ \ | |/ | | | | | is truncated inside a data segment. | ||||
| * | Issue #24259: tarfile now raises a ReadError if an archive is truncated ↵ | Lars Gustäbel | 2015-07-06 | 1 | -0/+23 |
| | | | | | | | | inside a data segment. | ||||
* | | Merge with 3.4: Issue #24514: tarfile now tolerates number fields consisting ↵ | Lars Gustäbel | 2015-07-02 | 1 | -0/+4 |
|\ \ | |/ | | | | | of only whitespace. | ||||
| * | Issue #24514: tarfile now tolerates number fields consisting of only whitespace. | Lars Gustäbel | 2015-07-02 | 1 | -0/+4 |
| | | |||||
* | | tarfile.open() with mode 'x' created files without an end of archive marker. | Lars Gustäbel | 2015-05-27 | 1 | -1/+14 |
| | | |||||
* | | Issue #23193: Skip numeric_owner tests on platforms where they don't make sense | Zachary Ware | 2015-05-13 | 1 | -0/+2 |
| | | | | | | | | | | In particular, the tests bomb out on Windows. The feature is a no-op on platforms without the pwd module or os.geteuid anyway. | ||||
* | | Issue #9517: Move script_helper to the support package. | Berker Peksag | 2015-05-06 | 1 | -1/+2 |
| | | | | | | | | Patch by Christie Wilson. | ||||
* | | Issue 23193: Add numeric_owner to tarfile.TarFile.extract() and ↵ | Eric V. Smith | 2015-04-15 | 1 | -0/+132 |
| | | | | | | | | tarfile.TarFile.extractall(). | ||||
* | | Issue #21717: tarfile.open() now supports 'x' (exclusive creation) mode. | Berker Peksag | 2015-02-13 | 1 | -0/+82 |
| | | |||||
* | | Issue #23421: Fixed compression in tarfile CLI. Patch by wdv4758h. | Serhiy Storchaka | 2015-02-10 | 1 | -0/+15 |
|\ \ | |/ | |||||
| * | Issue #23421: Fixed compression in tarfile CLI. Patch by wdv4758h. | Serhiy Storchaka | 2015-02-10 | 1 | -0/+15 |
| | | |||||
| * | Issue #21440: Backport changeset 4ebf97299b18 to branch 3.4, use | Victor Stinner | 2014-09-03 | 1 | -20/+19 |
| | | | | | | | | support.rmtree() and support.unlink() in test_zipfile & test_tarfile | ||||
* | | Issue #21549: Added the "members" parameter to TarFile.list(). | Serhiy Storchaka | 2014-08-21 | 1 | -0/+12 |
| | | |||||
* | | Issue 21044: tarfile.open() now handles fileobj with an integer 'name' | Serhiy Storchaka | 2014-07-16 | 1 | -6/+30 |
|\ \ | |/ | | | | | attribute. Based on patch by Martin Panter. | ||||
| * | Issue 21044: tarfile.open() now handles fileobj with an integer 'name' | Serhiy Storchaka | 2014-07-16 | 1 | -6/+30 |
| | | | | | | | | attribute. Based on patch by Martin Panter. | ||||
* | | Issue21440 Use support.rmtree in test_zipfile & test_tarfile | Tim Golden | 2014-05-06 | 1 | -20/+19 |
|/ | |||||
* | Issue #20672: Fixed tests for TarFile.list() on non-UTF-8 locales. | Serhiy Storchaka | 2014-02-19 | 1 | -8/+10 |
|\ | |||||
| * | Issue #20672: Fixed tests for TarFile.list() on non-UTF-8 locales. | Serhiy Storchaka | 2014-02-19 | 1 | -8/+10 |
| | | |||||
* | | Issue #19920: TarFile.list() no longer fails when outputs a listing | Serhiy Storchaka | 2014-02-05 | 1 | -18/+99 |
|\ \ | |/ | | | | | | | 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 listing | Serhiy Storchaka | 2014-02-05 | 1 | -0/+78 |
| | | | | | | | | | | containing non-encodable characters. Added tests for TarFile.list(). Based on patch by Vajrasky Kok. | ||||
| * | Fix typo. | Serhiy Storchaka | 2014-01-24 | 1 | -1/+1 |
| | | |||||
| * | Issue #20384: Fix the test_tarfile test on Windows. | Serhiy Storchaka | 2014-01-24 | 1 | -1/+6 |
| | | | | | | | | On Windows os.open() error message doesn't contain file name. | ||||
* | | Issue #20243: TarFile no longer raise ReadError when opened in write mode. | Serhiy Storchaka | 2014-01-18 | 1 | -0/+16 |
|\ \ | |/ | |||||
| * | Issue #20243: TarFile no longer raise ReadError when opened in write mode. | Serhiy Storchaka | 2014-01-18 | 1 | -0/+16 |
| | | |||||
* | | Issue #20238: TarFile opened with external fileobj and "w:gz" mode didn't | Serhiy Storchaka | 2014-01-18 | 1 | -0/+6 |
|\ \ | |/ | | | | | write complete output on close. | ||||
| * | Issue #20238: TarFile opened with external fileobj and "w:gz" mode didn't | Serhiy Storchaka | 2014-01-18 | 1 | -0/+6 |
| | | | | | | | | write complete output on close. | ||||
* | | Issue #20245: The open functions in the tarfile module now correctly handle ↵ | Serhiy Storchaka | 2014-01-18 | 1 | -0/+14 |
|\ \ | |/ | | | | | empty mode. | ||||
| * | Issue #20245: The open functions in the tarfile module now correctly handle ↵ | Serhiy Storchaka | 2014-01-18 | 1 | -0/+14 |
| | | | | | | | | empty mode. |