[issue16074] Bad error message in os.rename, os.link, and os.symlink

Jakub Wilk report at bugs.python.org
Sat Dec 21 17:57:04 CET 2013


Jakub Wilk added the comment:

As far as rename() and link() are concerned, either of the arguments can cause an ENOENT error:

os.rename('/dev/foobar', '/dev/barfoo') # fails because /dev/foobar doesn't exist

os.rename('/dev/null', '/foo/bar/baz') # fails because /foo/bar doesn't exist

----------
nosy: +jwilk

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


More information about the Python-bugs-list mailing list