[issue10016] shutil.copyfile -- allow sparse copying

Antoine Pitrou report at bugs.python.org
Sun Oct 3 22:24:22 CEST 2010

Antoine Pitrou <pitrou at free.fr> added the comment:

The use of fdst.truncate() is indeed wrong, since truncate() in 3.x is defined as truncating up to the current file position (which has been moved forward by the latest seek()).

nosy: +pitrou

Python tracker <report at bugs.python.org>

More information about the Python-bugs-list mailing list