| Commit message (Collapse) | Author | Age | Files | Lines | |
|---|---|---|---|---|---|
| * | Issue #14061: Misc fixes and cleanups in archiving code in shutil. | Serhiy Storchaka | 2016-12-16 | 1 | -3/+2 |
| | | | | | | | Improved the documentation and tests for make_archive(). Improved error handling when corresponding compress module is not available. External zip executable is now used if the zlib module is not available. | ||||
| * | Issue #28488: shutil.make_archive() no longer adds entry "./" to ZIP archive. | Serhiy Storchaka | 2016-10-23 | 1 | -0/+13 |
| | | |||||
| * | Issue #25624: ZipFile now always writes a ZIP_STORED header for directory | Serhiy Storchaka | 2015-11-22 | 1 | -0/+23 |
| | | | | | entries. Patch by Dingyuan Wang. | ||||
| * | Issue #25686: test_shutil no longer uses the distutils package for running | Serhiy Storchaka | 2015-11-21 | 1 | -6/+4 |
| | | | | | external archivers. | ||||
| * | Issue #25607: Restore old distutils logging threshold after running tests that | Serhiy Storchaka | 2015-11-12 | 1 | -1/+1 |
| | | | | | parse command line arguments. | ||||
| * | Fixed tests for shutil.make_archive() with relative base_name in the case when | Serhiy Storchaka | 2015-09-08 | 1 | -2/+2 |
| | | | | | the path of the directory for temporary files contains symlinks. | ||||
| * | Issue #24982: shutil.make_archive() with the "zip" format now adds entries | Serhiy Storchaka | 2015-09-08 | 1 | -2/+29 |
| | | | | | | for directories (including empty directories) in ZIP file. Added test for comparing shutil.make_archive() with the "zip" command. | ||||
| * | Issue #25018: Fixed testing shutil.make_archive() with relative base_name on | Serhiy Storchaka | 2015-09-07 | 1 | -9/+19 |
| | | | | | | Windows. The test now makes sense on non-Windows. Added similar test for zip format. | ||||
| * | Explicitly test archive name in shutil.make_archive() tests to expose failure | Serhiy Storchaka | 2015-09-07 | 1 | -11/+11 |
| | | | | | details in issue25018. | ||||
| * | Fix, refactor and extend tests for shutil.make_archive(). | Serhiy Storchaka | 2015-09-06 | 1 | -73/+66 |
| | | |||||
| * | Backport support.change_cwd() and use it in tests. | Serhiy Storchaka | 2015-09-06 | 1 | -37/+9 |
| | | |||||
| * | Issue #21280: Fixed a bug in shutil.make_archive() when create an archive of | Serhiy Storchaka | 2014-11-27 | 1 | -0/+23 |
| | | | | | current directory in current directory. | ||||
| * | Issue #19856: shutil.move() failed to move a directory to other directory | Serhiy Storchaka | 2014-02-11 | 1 | -0/+9 |
| | | | | | on Windows if source name ends with os.altsep. | ||||
| * | Issue #19572: More silently skipped tests explicitly skipped. | Zachary Ware | 2013-12-10 | 1 | -8/+4 |
| | | |||||
| * | Issue #18702: All skipped tests now reported as skipped. | Serhiy Storchaka | 2013-11-03 | 1 | -56/+58 |
| | | |||||
| * | Issue #14662: Prevent shutil failures on OS X when destination does not | Ned Deily | 2012-05-11 | 1 | -0/+30 |
| | | | | | support chflag operations. (Patch by Hynek Schlawack) | ||||
| * | Guard shutil._make_archive against a logger=None argument. | Éric Araujo | 2011-08-19 | 1 | -0/+4 |
| | | | | | | Backporting two lines from the 3.x tests was enough to trigger the bug. I also took the opportunity of making the logging call lazy. | ||||
| * | Backport fix for issue #10684 from 3.x | Ronald Oussoren | 2011-05-06 | 1 | -0/+18 |
| | | |||||
| * | Merged revisions 86596 via svnmerge from | Ezio Melotti | 2010-11-21 | 1 | -4/+4 |
| | | | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/branches/py3k ........ r86596 | ezio.melotti | 2010-11-20 21:04:17 +0200 (Sat, 20 Nov 2010) | 1 line #9424: Replace deprecated assert* methods in the Python test suite. ........ | ||||
| * | Merged revisions 86235 via svnmerge from | Éric Araujo | 2010-11-17 | 1 | -0/+1 |
| | | | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/branches/py3k ........ r86235 | eric.araujo | 2010-11-06 03:12:51 +0100 (sam., 06 nov. 2010) | 2 lines Fix one omission in r78359 ........ | ||||
| * | Merged revisions 85503 via svnmerge from | Antoine Pitrou | 2010-10-14 | 1 | -4/+8 |
| | | | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/branches/py3k ........ r85503 | antoine.pitrou | 2010-10-15 00:11:44 +0200 (ven., 15 oct. 2010) | 2 lines More proper closing of files ........ | ||||
| * | Replace deprecated fail* methods with the equivalent assert* ones. | Ezio Melotti | 2010-06-05 | 1 | -11/+11 |
| | | |||||
| * | Fixed #4265: shutil.copyfile() was leaking file descriptors when disk fills | Tarek Ziadé | 2010-05-05 | 1 | -1/+106 |
| | | |||||
| * | removed ztar support in shutil.make_archive | Tarek Ziadé | 2010-04-20 | 1 | -30/+0 |
| | | |||||
| * | Cleanup some test cases using check_warnings and check_py3k_warnings. | Florent Xicluna | 2010-03-17 | 1 | -12/+8 |
| | | |||||
| * | added make_archive (and secondary APIs) to shutil | Tarek Ziadé | 2010-02-23 | 1 | -1/+316 |
| | | |||||
| * | Make test_shutil clean up after itself | Antoine Pitrou | 2009-11-04 | 1 | -53/+57 |
| | | |||||
| * | convert usage of fail* to assert* | Benjamin Peterson | 2009-06-30 | 1 | -12/+12 |
| | | |||||
| * | Issue #3002: `shutil.copyfile()` and `shutil.copytree()` now raise an | Antoine Pitrou | 2009-05-01 | 1 | -0/+33 |
| | | | | | error when a named pipe is encountered, rather than blocking infinitely. | ||||
| * | fix test_shutil on ZFS #5676 | Benjamin Peterson | 2009-04-29 | 1 | -2/+16 |
| | | |||||
| * | make destinsrc private | Benjamin Peterson | 2009-02-07 | 1 | -4/+4 |
| | | |||||
| * | Issue #2047: shutil.move() could believe that its destination path was | Antoine Pitrou | 2009-01-29 | 1 | -0/+22 |
| | | | | | | inside its source path if it began with the same letters (e.g. "src" vs. "src.new"). | ||||
| * | #2663: support an *ignore* argument to shutil.copytree(). Patch by Tarek Ziade. | Georg Brandl | 2008-07-05 | 1 | -0/+76 |
| | | | | | This is a new feature, but Barry authorized adding it in the beta period. | ||||
| * | Issue 1577: shutil.move() where destination is a directory was doing a | Sean Reifscheider | 2008-03-18 | 1 | -12/+115 |
| | | | | | copy, now it is doing a os.rename() if it's on the same file-system. | ||||
| * | #1669: don't allow shutil.rmtree() to be called on a symlink. | Georg Brandl | 2008-01-20 | 1 | -0/+14 |
| | | |||||
| * | Another fix for test_shutil. Martin pointed out that it breaks some build bots | Christian Heimes | 2007-11-20 | 1 | -1/+3 |
| | | |||||
| * | Fixed bug #1470 | Christian Heimes | 2007-11-20 | 1 | -5/+2 |
| | | |||||
| * | test_copytree_simple(): This was leaving behind two new temp | Tim Peters | 2006-08-10 | 1 | -16/+36 |
| | | | | | | | | | | | | | | | directories each time it ran, at least on Windows. Several changes: explicitly closed all files; wrapped long lines; stopped suppressing errors when removing a file or directory fails (removing /shouldn't/ fail!); and changed what appeared to be incorrect usage of os.removedirs() (that doesn't remove empty directories at and /under/ the given path, instead it must be given an empty leaf directory and then deletes empty directories moving /up/ the path -- could be that the conceptually simpler shutil.rmtree() was really actually intended here). | ||||
| * | Whitespace normalization. | Tim Peters | 2006-07-31 | 1 | -3/+3 |
| | | |||||
| * | Don't copy directory stat times in shutil.copytree on Windows | Martin v. Löwis | 2006-07-30 | 1 | -0/+27 |
| | | | | | Fixes #1525866. | ||||
| * | Implement os.{chdir,rename,rmdir,remove} using Win32 directly. | Martin v. Löwis | 2006-05-04 | 1 | -2/+2 |
| | | |||||
| * | Use os.geteuid() for checking whether we are root, as suggested by | Johannes Gijsbers | 2004-12-12 | 1 | -1/+1 |
| | | | | | Michael Hudson. | ||||
| * | SF bug #1076467: don't run test_on_error as root, as the permission | Johannes Gijsbers | 2004-12-06 | 1 | -2/+6 |
| | | | | | | errors don't get provoked that way. Also add a bunch of cross-references to bugs. | ||||
| * | Bug #1071513: don't test on Cygwin, as chmod doesn't work reliably there | Johannes Gijsbers | 2004-11-23 | 1 | -1/+5 |
| | | | | | | | | (http://www.cygwin.com/faq/faq_3.html#SEC41). Also check whether onerror has actually been called so this test will fail on assertion instead of on trying to chmod a non-existent file. | ||||
| * | test_on_error(): Rewrite so it works on WinXP too. Unsure about 95/98/ME. | Tim Peters | 2004-11-01 | 1 | -7/+13 |
| | | |||||
| * | Bug #1048941: shutil.rmtree error handling was always broken | Johannes Gijsbers | 2004-10-31 | 1 | -3/+28 |
| | | | | | | Rewrite rmtree again, this time without os.walk(). Error handling had been broken since Python 2.3, and the os.walk() version inherited this. | ||||
| * | Document not-completely-obvious behavior in a test. | Johannes Gijsbers | 2004-09-11 | 1 | -0/+7 |
| | | |||||
| * | Unwrap too-smart loop: we can't use `src` for both hard and symbolic links. | Johannes Gijsbers | 2004-08-14 | 1 | -8/+16 |
| | | |||||
| * | Raise an exception when src and dst refer to the same file via a hard link or a | Johannes Gijsbers | 2004-08-14 | 1 | -0/+21 |
| | | | | | symbolic link (bug #851123 / patch #854853, thanks Gregory Ball). | ||||
| * | - Bug #981530: Fix UnboundLocalError in shutil.rmtree(). This affects | Guido van Rossum | 2004-07-14 | 1 | -0/+1 |
| | | | | | | | | | the documented behavior: the function passed to the onerror() handler can now also be os.listdir. [I could've sworn I checked this in, but apparently I didn't, or it got lost???] | ||||
