summaryrefslogtreecommitdiffstats
path: root/Lib/tarfile.py
Commit message (Collapse)AuthorAgeFilesLines
* 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
| |
* | Issue #13477: Added command line interface to the tarfile module.Serhiy Storchaka2013-11-231-0/+94
| | | | | | | | Original patch by Berker Peksag.
* | Close #18281: superfluous stat constants removed from tarfileEthan Furman2013-10-131-24/+0
| |
* | #18705: merge with 3.3.Ezio Melotti2013-08-171-1/+1
|\ \ | |/
| * #18705: fix a number of typos. Patch by Févry Thibault.Ezio Melotti2013-08-171-1/+1
| |
* | Issue #18200: Back out usage of ModuleNotFoundError (8d28d44f3a9a)Brett Cannon2013-07-041-6/+6
| |
* | Issue #18200: Update the stdlib (except tests) to useBrett Cannon2013-06-141-6/+6
| | | | | | | | ModuleNotFoundError.
* | Issue #16601: Restarting iteration over tarfile no more continues from whereSerhiy Storchaka2013-05-091-5/+7
|\ \ | |/ | | | | it left off. Patch by Michael Birtwell.
| * Issue #16601: Restarting iteration over tarfile no more continues from whereSerhiy Storchaka2013-05-091-5/+7
| | | | | | | | it left off. Patch by Michael Birtwell.
* | Replace IOError with OSError (#16715)Andrew Svetlov2012-12-251-7/+7
| |
* | Issue #16719: Get rid of WindowsError. Use OSError insteadAndrew Svetlov2012-12-191-2/+2
| | | | | | | | Patch by Serhiy Storchaka.
* | Get rig of EnvironmentError (#16705)Andrew Svetlov2012-12-171-4/+4
| |
* | Merge issue #16477: Close tarfile internal handlers in case of exception.Andrew Svetlov2012-11-291-13/+11
|\ \ | |/ | | | | Patch by Serhiy Storchaka.
| * Merge issue #16477: Close tarfile internal handlers in case of exception.Andrew Svetlov2012-11-291-13/+11
| |\ | | | | | | | | | Patch by Serhiy Storchaka.
| | * Issue #16477: Close tarfile internal handlers in case of exception.Andrew Svetlov2012-11-291-13/+11
| | | | | | | | | | | | Patch by Serhiy Storchaka.
* | | #16135: Removal of OS/2 support (Python code partial cleanup)Jesus Cea2012-10-051-2/+1
|/ /
* | Simplify usage of LZMAFile's fileobj support, like with BZ2File.Nadeem Vawda2012-06-041-2/+1
| |
* | Make BZ2File's fileobj support easier to use.Nadeem Vawda2012-06-041-2/+2
| | | | | | | | | | The fileobj argument was added during the 3.3 development cycle, so this change does not break backward compatibility with 3.2.
* | Issue #13031: Small speed-up for tarfile when unzipping tarfiles.Ross Lagerwall2012-05-171-2/+2
| | | | | | | | Patch by Justin Peel.
* | #14807: move undocumented tarfile.filemode() to stat.filemode(). Add ↵Giampaolo Rodola'2012-05-151-41/+7
| | | | | | | | tarfile.filemode alias with deprecation warning.
* | Issue #13815: Resurrect the ExFileObject class.Lars Gustäbel2012-05-141-8/+9
| | | | | | | | | | | | After a discussion in the tracker, the decision was made to keep the ExFileObject class after all as a subclass of io.BufferedReader instead of removing it completely.
* | Issue #13815: TarFile.extractfile() now returns io.BufferedReader objects.Lars Gustäbel2012-05-051-154/+42
| | | | | | | | The ExFileObject class was removed, some of its code went into _FileInFile.
* | Merge with 3.2: Issue #14160: TarFile.extractfile() failed to resolve symbolicLars Gustäbel2012-04-241-1/+1
|\ \ | |/ | | | | links when the links were not located in an archive subdirectory.
| * Issue #14160: TarFile.extractfile() failed to resolve symbolic linksLars Gustäbel2012-04-241-1/+1
| | | | | | | | when the links were not located in an archive subdirectory.
* | Issue #5689: Avoid excessive memory usage by using the default lzma preset.Lars Gustäbel2012-01-181-5/+1
| |
* | Merge from 3.2: Issue #12926: Fix a bug in tarfile's link extraction.Lars Gustäbel2012-01-051-6/+0
|\ \ | |/ | | | | | | | | | | | | On platforms that do not support (symbolic) links, tarfile offers a work-around and extracts a link in an archive as the regular file the link is pointing to. On other platforms, this code was accidentally executed even after the link had been successfully extracted which failed due to the already existing link.
| * Issue #12926: Fix a bug in tarfile's link extraction.Lars Gustäbel2012-01-051-6/+0
| | | | | | | | | | | | | | | | On platforms that do not support (symbolic) links, tarfile offers a work-around and extracts a link in an archive as the regular file the link is pointing to. On other platforms, this code was accidentally executed even after the link had been successfully extracted which failed due to the already existing link.
* | use io.SEEK_* constants instead of os.SEEK_* where an IO stream is seeked, ↵Eli Bendersky2012-01-031-4/+5
| | | | | | | | leaving the os.SEEK_* constants only for os.lseek, as documented
* | Issue #5689: Add support for lzma compression to the tarfile module.Lars Gustäbel2011-12-101-6/+60
| |
* | Remove no longer needed work-around for bz2 file object support.Lars Gustäbel2011-12-061-64/+2
| |