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 <[email protected]>
<http://bugs.python.org/issue16074>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe:
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com