Sijin Joseph added the comment: Behavior for symlink is as follows
>>> os.symlink('non-existent-name', 'existing-name') Traceback (most recent call last): File "<stdin>", line 1, in <module> PermissionError: [WinError 5] Access is denied: 'non-existent-name' The error message is misleading, but can be fixed using the patch attached to issue13775 >>> os.symlink('non-existent-name1', 'non-existent-name2') No error. This behavior is same on Windows and Linux. Seems odd, but can be justified as ok behavior. ---------- _______________________________________ 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