Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Patch #1504073: Fix tarfile.open() for mode "r" with a fileobj argument. | Lars Gustäbel | 2006-12-27 | 1 | -0/+10 |
| | | | | Backport from rev. 53161. | ||||
* | Patch #1262036: Prevent TarFiles from being added to themselves under | Lars Gustäbel | 2006-12-23 | 1 | -0/+14 |
| | | | | | | | | | certain conditions. (backport from rev. 53155) Moved message from my previous change to the right place in Misc/NEWS. | ||||
* | Patch #1230446: tarfile.py: fix ExFileObject so that read() and tell() | Lars Gustäbel | 2006-12-23 | 1 | -1/+11 |
| | | | | | | work correctly together with readline(). (backport from rev. 53153) | ||||
* | Patch #1610437: fix a tarfile bug with long filename headers. | Georg Brandl | 2006-12-06 | 1 | -9/+13 |
| | | | | (backport from rev. 52938) | ||||
* | Patch [ 1583506 ] tarfile.py: 100-char filenames are truncated | Georg Brandl | 2006-10-24 | 1 | -0/+27 |
| | | | | (backport from rev. 52431) | ||||
* | Backport 51432: | Neal Norwitz | 2006-08-21 | 1 | -0/+21 |
| | | | | | Fix bug #1543303, tarfile adds padding that breaks gunzip. Patch # 1543897. (remove the padding) | ||||
* | The cheery optimism of old age. | Tim Peters | 2006-05-27 | 1 | -13/+1 |
| | |||||
* | More random thrashing trying to understand spurious | Tim Peters | 2006-05-27 | 1 | -1/+13 |
| | | | | Windows failures. Who's keeping a bz2 file open? | ||||
* | Explicitly close files. I'm trying to stop the frequent spurious test_tarfile | Tim Peters | 2006-05-26 | 1 | -9/+32 |
| | | | | | | failures on Windows buildbots, but it's hard to know how since the regrtest failure output is useless here, and it never fails when a buildbot slave runs test_tarfile the second time in verbose mode. | ||||
* | Use open() to open files (was using file()). | Tim Peters | 2006-05-26 | 1 | -10/+10 |
| | |||||
* | test_directory(): Remove the leftover temp directory that's making | Tim Peters | 2006-05-15 | 1 | -0/+4 |
| | | | | the Windows buildbots fail test_tarfile. | ||||
* | ReadDetectFileobjTest: repair Windows disasters by opening | Tim Peters | 2006-05-15 | 1 | -1/+2 |
| | | | | | | | | | | the file object in binary mode. The Windows buildbot slaves shouldn't swap themselves to death anymore. However, test_tarfile may still fail because of a temp directory left behind from a previous failing run. Windows buildbot owners may need to remove that directory by hand. | ||||
* | [ 1488881 ] tarfile.py: support for file-objects and bz2 (cp. #1488634) | Georg Brandl | 2006-05-15 | 1 | -0/+23 |
| | |||||
* | Patch #1484695: Update the tarfile module to version 0.8. This fixes | Georg Brandl | 2006-05-10 | 1 | -2/+47 |
| | | | | | a couple of issues, notably handling of long file names using the GNU LONGNAME extension. | ||||
* | Patch #1338314, Bug #1336623: fix tarfile so it can extract | Neal Norwitz | 2005-10-28 | 1 | -0/+30 |
| | | | | | | REGTYPE directories from tarfiles written by old programs. Will backport. | ||||
* | Fix SF bug # 1330039, patch # 1331635 from Lars Gustaebel (tarfile maintainer) | Neal Norwitz | 2005-10-20 | 1 | -1/+48 |
| | | | | | | | | | | | | | | Problem: if two files are assigned the same inode number by the filesystem, the second one will be added as a hardlink to the first, which means that the content will be lost. The patched code checks if the file's st_nlink is greater 1. So only for files that actually have several links pointing to them hardlinks will be created, which is what GNU tar does. Will backport. | ||||
* | Patch #1168594: set sizes of non-regular files to zero. Fixes #1167128. | Martin v. Löwis | 2005-08-27 | 1 | -0/+35 |
| | | | | Will backport to 2.4. | ||||
* | Patch #918101: Add tarfile open mode r|* for auto-detection of the | Martin v. Löwis | 2005-03-05 | 1 | -2/+27 |
| | | | | stream compression; add, for symmetry reasons, r:* as a synonym of r. | ||||
* | Patch #1107973: tarfile.ExFileObject iterators. | Martin v. Löwis | 2005-03-03 | 1 | -0/+10 |
| | |||||
* | Whitespace normalization. | Tim Peters | 2004-10-25 | 1 | -1/+1 |
| | |||||
* | Add test case for bug #1017553 | Andrew M. Kuchling | 2004-10-20 | 1 | -0/+9 |
| | |||||
* | Flush bz2 data even if nothing had been written so far. Fixes #1013882. | Martin v. Löwis | 2004-08-22 | 1 | -1/+7 |
| | | | | Will backport to 2.3. | ||||
* | SF #857297 and 916874, improve handling of hard links when extracting | Neal Norwitz | 2004-07-20 | 1 | -0/+21 |
| | |||||
* | SF #846659, fix bufsize violation and GNU longname/longlink extensions | Neal Norwitz | 2004-07-20 | 1 | -1/+90 |
| | |||||
* | When calling tarname with an argument (and thus not use testtar.tar) return a | Brett Cannon | 2003-06-12 | 1 | -1/+1 |
| | | | | path for the file in the temp directory for the platform. | ||||
* | Make creation of temporary file and directory more portable. Also made cleanup | Brett Cannon | 2003-06-12 | 1 | -7/+8 |
| | | | | | | | | | | code use proper functions to get paths. Changed the name of tar file that is searched for to be absolute (i.e., not use os.extsep) since filename is locked in based on name of file in CVS (testtar.tar). Closes bug #731403 . | ||||
* | Patch #734231: Update RiscOS support. In particular, correct | Martin v. Löwis | 2003-05-10 | 1 | -4/+4 |
| | | | | riscospath.extsep, and use os.extsep throughout. | ||||
* | Combine the functionality of test_support.run_unittest() | Walter Dörwald | 2003-05-01 | 1 | -19/+18 |
| | | | | | | | | | | and test_support.run_classtests() into run_unittest() and use it wherever possible. Also don't use "from test.test_support import ...", but "from test import test_support" in a few spots. From SF patch #662807. | ||||
* | Get test working if gzip support is not available | Neal Norwitz | 2003-04-14 | 1 | -1/+2 |
| | |||||
* | The filename fix of the previous checkin was complete bogus, the problem is ↵ | Jack Jansen | 2003-03-07 | 1 | -3/+3 |
| | | | | elsewhere. Retracting. | ||||
* | Two fixes to make this test pass on MacOS9: | Jack Jansen | 2003-03-07 | 1 | -4/+4 |
| | | | | | | | - the test was sloppy about filenames: "0-REGTYPE-TEXT" was used where the archive held "/0-REGTYPE-TEXT". - tarfile extracts all files in binary mode, but the test expected to be able to read and compare text files in text mode. Use universal text mode. | ||||
* | Removed debugging print in test_tarfile. | Tim Peters | 2003-02-19 | 1 | -1/+0 |
| | | | | | In the Windows installer, continued the endless battle to copy over files with new one-shot extensions. | ||||
* | Whitespace normalization. | Tim Peters | 2003-02-19 | 1 | -0/+1 |
| | |||||
* | Actually run these tests from regrtest.py. | Neal Norwitz | 2003-02-17 | 1 | -2/+23 |
| | | | | | | There was no test_main() and the main body was protected by if __name__ == '__main__' so the test didn't happen on import either. | ||||
* | SF #651082, tarfile module implementation from Lars Gustäbel | Neal Norwitz | 2003-01-05 | 1 | -0/+253 |