[issue20093] Wrong OSError message from os.rename() when dst is a non-empty directory

Dmitry Shachnev report at bugs.python.org
Sun Dec 29 16:20:29 CET 2013


Dmitry Shachnev added the comment:

This is a result of http://hg.python.org/cpython/rev/6903f5214e99.

Looks like we should check the error code and conditionally set the file name to either src or dst.

----------
nosy: +haypo, mitya57

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


More information about the Python-bugs-list mailing list