Serhiy Storchaka added the comment: As I see, now 3.4 behavior differs from 3.3 behavior.
>>> os.link('non-existent-name', 'new-name') Traceback (most recent call last): File "<stdin>", line 1, in <module> FileNotFoundError: [Errno 2] No such file or directory: 'non-existent-name' >>> os.symlink('long-name'*1000, 'new-name') Traceback (most recent call last): File "<stdin>", line 1, in <module> OSError: [Errno 36] File name too long: 'long-namelong-namelong-namelong-namelong-namelong-name... ---------- _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue16074> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com