[issue1492704] distinct error type if shutil.copyfile() fails because of src and dst are the same file

Hynek Schlawack report at bugs.python.org
Mon Jul 16 16:19:21 CEST 2012


Hynek Schlawack <hs at ox.cx> added the comment:

Sorry, I didn’t look at zooko’s patch which was also just about copyfile. I presume it’s all about the copy fallback that happens when os.rename didn’t work out.

Will look at your code more closely later.

----------
title: distinct error type from shutil.move() -> distinct error type if shutil.copyfile() fails because of src and dst are the same file

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue1492704>
_______________________________________


More information about the Python-bugs-list mailing list