[New-bugs-announce] [issue16812] os.symlink can return wrong FileExistsError/WindowsError information

Andrew report at bugs.python.org
Sat Dec 29 14:43:54 CET 2012


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 <report at bugs.python.org>
<http://bugs.python.org/issue16812>
_______________________________________


More information about the New-bugs-announce mailing list