Antoine Pitrou <[email protected]> added the comment:
I suggest a more generic and powerful API change:
copytree(src, dst, symlinks=False, ignore=None) -> None
becomes:
copytree(src, dst, symlinks=False, ignore=None, callback=None) -> None
where callback, if not None, is called with each (filename, src_dir,
dst_dir) and can return either True or False depending on whether the
copy must really occur or not.
Then you should be able implement the four distutils option in terms of
the callback.
----------
nosy: +pitrou
_______________________________________
Python tracker <[email protected]>
<http://bugs.python.org/issue4843>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe:
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com