Serhiy Storchaka added the comment: See also issue16074.
> The patch changes also os.link(), os.rename() and os.replace() to use the > source, not the destination, in the error message. It is maybe a mistake > because these functions can also fail in the directory of the destination > does not exist. Yes, in different cases it can be the source, the destination, both, unknown or none of them. ---------- nosy: +serhiy.storchaka type: -> behavior _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue15478> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com