Should I be using shutil.copytree?
The documentation for the functioncopytree
in Python 2 version of shutil says:
The source code for this should be seen as an example, not a final tool.
What exactly does this mean? Is it a copytree
proof of concept instead of actual use in programs? Or is it just a disclaimer that the code is messy? (This statement is missing in Python 3. )
source to share
In earlier versions of the code shutil
, he had this note ( submitted by Guido ):
XXX Consider this example code, not the final tool.
This note was then deleted in this commit . So there is no specific reason for this note, other than that the code has grown organically from not quite ready for support - which is what we need.
source to share