New submission from Andrew:

When attempting to make a symlink using a name that already exists, a 
FileExistsError is raised (and rightfully so), but it lists the source name 
rather than the destination name. However, the existing destination name is 
what causes the exception to be raised, not the existing source. Since the 
FileExistsError is WinError 183 and I haven't attempted this on another OS, I'm 
marking this as Windows-specific. Issue 13775 seems to be related.

----------
components: Windows
messages: 178493
nosy: IAmTheClaw
priority: normal
severity: normal
status: open
title: os.symlink can return wrong FileExistsError/WindowsError information
type: behavior
versions: Python 3.3

_______________________________________
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

Reply via email to