Sijin Joseph added the comment: This looks to work correctly in default branch,
>>> os.link('non-existent-name', 'new-name') Traceback (most recent call last): File "<stdin>", line 1, in <module> FileNotFoundError: [WinError 2] The system cannot find the file specified: 'non-existent-name' ---------- nosy: +sijinjoseph _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue16812> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com