summaryrefslogtreecommitdiffstats
path: root/Doc/library/shutil.rst
Commit message (Collapse)AuthorAgeFilesLines
* #1492704: Backout and wait for 3.4Hynek Schlawack2012-07-191-11/+1
|
* #1492704: Make shutil.copyfile() raise a distinct SameFileErrorHynek Schlawack2012-07-191-1/+11
| | | | Patch by Atsuo Ishimoto.
* Issue #15202: Additional documentation fixes inadvertently omittedLarry Hastings2012-07-151-41/+31
| | | | from previous checkin.
* Issue #15202: Consistently use the name "follow_symlinks" forLarry Hastings2012-07-151-1/+1
| | | | new parameters in os and shutil functions. Patch by Serhiy Storchaka.
* - Issue #15238: shutil.copystat now copies Linux "extended attributes".Larry Hastings2012-07-151-2/+3
|
* Fix typo in shutil docHynek Schlawack2012-06-271-1/+1
|
* Fix markupÉric Araujo2012-06-241-1/+1
|
* Add a single versionadded for a whole section instead of repeating for every ↵Georg Brandl2012-06-241-18/+4
| | | | function.
* Small whitespace fixes for shutil.rmtree() docs.Georg Brandl2012-06-241-7/+9
|
* #444582: fix example and rewrap docs a bit.Georg Brandl2012-06-241-13/+14
|
* Issue #4489: Rename the feature marker for the symlink resistant rmtree and ↵Nick Coghlan2012-06-241-14/+15
| | | | store it as a function attribute
* #4489: Fix usage of fd-based functions to new api introduced earlier todayHynek Schlawack2012-06-231-4/+11
| | | | | | | | Also add an explicit test for safe implementation usage on supported platforms. As a side effect, this commit adds a module-level attribute 'rmtree_is_safe' which offers introspection whether the current rmtree implementation is safe against symlink attacks.
* #4489: Add a shutil.rmtree that isn't suspectible to symlink attacksHynek Schlawack2012-06-231-7/+20
| | | | | It is used automatically on platforms supporting the necessary os.openat() and os.unlinkat() functions. Main code by Martin von Löwis.
* Issue #444582: shutil.which() respects relative paths.Antoine Pitrou2012-06-221-2/+2
|
* Fix #444582. Add shutil.which function for finding programs on the system path.Brian Curtin2012-06-221-0/+24
|
* Add versionchanged tags for #14772 changesBrian Curtin2012-06-191-0/+13
|
* Fix #14772: Return the destination from some shutil functions.Brian Curtin2012-06-181-5/+9
|
* #14804: Remove [] around optional arguments with default valuesHynek Schlawack2012-05-211-5/+5
| | | | 3.3 specific additions to d13fdd97cc8e.
* Issue #14082: shutil.copy2() now copies extended attributes, if possible.Antoine Pitrou2012-05-121-3/+3
| | | | Patch by Hynek Schlawack.
* shutil copy module reference doc fix.Senthil Kumaran2012-02-131-21/+23
|\
| * shutil copy module reference doc fix.Senthil Kumaran2012-02-131-19/+19
| |
* | Issue #13609: Add two functions to query the terminal size:Antoine Pitrou2012-02-081-0/+33
| | | | | | | | | | os.get_terminal_size (low level) and shutil.get_terminal_size (high level). Patch by Zbigniew Jędrzejewski-Szmek.
* | Merge edits from 3.2 (#13716, #1040439, #2945, #13770, #6715)Éric Araujo2012-02-051-3/+7
|\ \ | |/
| * Improve interlinking of archiving/compression modules docs.Éric Araujo2012-01-161-3/+7
| | | | | | | | | | | | | | | | | | | | - Remove duplicated list of links to the other modules from each module’s doc (people can already go up to library/archiving and there they can see the list). - Link to shutil high-level operations. Reviewed by Nadeem Vawda in #6715.
* | Issue #9993: When the source and destination are on different filesystems,Antoine Pitrou2012-01-061-1/+6
| | | | | | | | | | | | and the source is a symlink, shutil.move() now recreates a symlink on the destination instead of copying the file contents. Patch by Jonathan Niehof and Hynek Schlawack.
* | Issue #12715: Add an optional symlinks argument to shutil functions ↵Antoine Pitrou2011-12-291-12/+34
| | | | | | | | | | | | | | | | | | (copyfile, copymode, copystat, copy, copy2). When that parameter is true, symlinks aren't dereferenced and the operation instead acts on the symlink itself (or creates one, if relevant). Patch by Hynek Schlawack.
* | Merge 3.2Éric Araujo2011-11-071-1/+2
|\ \ | |/
| * Document that shutil.make_archive does not typecheck its logger argumentÉric Araujo2011-11-071-1/+2
| |
* | Replace mentions of IOErrorAntoine Pitrou2011-10-121-1/+4
| |
* | #12191: add shutil.chown() to change user and/or group owner of a given path ↵Sandro Tosi2011-08-221-0/+14
| | | | | | | | also specifying their names.
* | Clean up shutil.disk_usage.Éric Araujo2011-08-081-2/+3
| | | | | | | | | | | | | | | | | | - Move a test from call time to define time - Add the function name to __all__ - Improve docstring and docs A few lines are now duplicated (named tuple definition and docstring) but I think the end result reads better.
* | #12183: merge with 3.2.Ezio Melotti2011-08-021-2/+3
|\ \ | |/
| * Fix closes Issue12183 - Explain the Symlink copy behavior in ↵Senthil Kumaran2011-08-021-2/+3
| | | | | | | | shutil.copytree. Patch by Petri Lehtinen.
* | Merge from 3.2 (#10318, #12255, #12043, #12417 and other fixes)Éric Araujo2011-07-291-10/+16
|\ \ | |/
| * Update documentation for shutil.move (#12043) and fix a few typos.Éric Araujo2011-07-281-10/+16
| | | | | | | | | | Adding Sandro Tosi to Doc/ACKS for this patch and all his work on the docs mailing list and on the bug tracker.
* | merge from 3.2 - Fix closes issue12577 - clarify shutil.move documentation. ↵Senthil Kumaran2011-07-191-2/+4
|\ \ | |/ | | | | Patch suggestion by Catalin Iacob
| * Fix closes issue12577 - clarify shutil.move documentation. Patch suggestion ↵Senthil Kumaran2011-07-191-2/+4
| | | | | | | | by Catalin Iacob
* | Issue #12442: add shutil.disk_usage()Giampaolo Rodola'2011-07-011-0/+8
|/
* Add entry for shutil's archiving operations.Raymond Hettinger2011-01-231-6/+10
|
* Separate source link from main text.Raymond Hettinger2011-01-101-0/+2
|
* Move source links to consistent location and remove wordy, big yellow boxes.Raymond Hettinger2011-01-101-6/+3
|
* Provide links to Python source where the code is short, readable andÉric Araujo2010-11-161-0/+6
| | | | | informative adjunct to the docs. Forward-port of Raymond's r86225 and r86245 using the new source reST role added in #10334.
* make sure shutil checks for bz2 availability before it uses it.Tarek Ziadé2010-04-291-3/+3
|
* #8295 : Added shutil.unpack_archive and related APIsTarek Ziadé2010-04-281-1/+63
|
* added a note about the ignore_dangling_symlinks optionTarek Ziadé2010-04-231-1/+2
|
* Merged revisions 80282 via svnmerge fromTarek Ziadé2010-04-201-2/+1
| | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r80282 | tarek.ziade | 2010-04-20 23:09:06 +0200 (Tue, 20 Apr 2010) | 1 line removed ztar support in shutil.make_archive ........
* fixed typo -- thanks NickTarek Ziadé2010-04-201-1/+1
|
* Add missing arg, fix indentation and spelling.Ezio Melotti2010-04-201-5/+5
|
* Fixed #6547: Added the ignore_dangling_symlinks option to shutil.copytreeTarek Ziadé2010-04-201-0/+11
|
* Fixed #1540112: now shutil.copytree will let you provide your own copy() ↵Tarek Ziadé2010-04-191-3/+8
| | | | function