[issue29657] os.symlink: FileExistsError shows wrong message

Xiang Zhang report at bugs.python.org
Sun Feb 26 05:41:34 EST 2017


Xiang Zhang added the comment:

I concur the current message is misleading.

OSError makes the string "file1 -> file2". This also affects other methods calling `path_error2()` such as os.link().

----------
nosy: +xiang.zhang
versions: +Python 3.6, Python 3.7

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


More information about the Python-bugs-list mailing list