Vajrasky Kok added the comment:

Here is the patch for Python 3.4. It removed file information for os.rename, 
os.link, and os.symlink.

I agree with Ezio that giving extra information is better but since Python 3.4 
is in beta.... maybe we can defer this to Python 3.5.

There are couples of errno that need extra information. For example, in Linux:
[Errno 2] No such file or directory -> source
[Errno 17] File exists -> destination
[Errno 36] Filename too long -> tough to decide, can be source, can be 
destination
[Errno 27] File too large -> source
Anything left?

----------
nosy: +vajrasky
Added file: 
http://bugs.python.org/file32934/better_error_message_in_os_rename_link_symlink.patch

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue16074>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to