[issue2047] shutil.destinsrc returns wrong result when source path matches beginning of destination path

Joseph Armbruster report at bugs.python.org
Sat Mar 1 03:21:43 CET 2008


Joseph Armbruster added the comment:

On another note, I just completed building the docs in windows and
shutil.destinsrc does not appear to be documented.  I did notice this
description for shutil:

"The shutil module offers a number of high-level operations on files and
collections of files. In particular, functions are provided which
support file copying and removal."

I would have expected to find a function like this in os.path, not shutil.

__________________________________
Tracker <report at bugs.python.org>
<http://bugs.python.org/issue2047>
__________________________________


More information about the Python-bugs-list mailing list