Re: [IronPython] _WindowsError and errno

2008-11-05 Thread Dino Viehland
ber 05, 2008 4:43 PM To: Discussion of IronPython Subject: [IronPython] _WindowsError and errno Hi IronPython team, Is there any reason why _WindowsError sets errno to 22 in all cases? There's some code in Django that checks if e.errno = errno.EEXIST. The exception that gets thrown by IronPyth

[IronPython] _WindowsError and errno

2008-11-05 Thread Jeff Hardy
Hi IronPython team, Is there any reason why _WindowsError sets errno to 22 in all cases? There's some code in Django that checks if e.errno = errno.EEXIST. The exception that gets thrown by IronPython has winerror = 17 (and the message string says "[Errno 17]..."!), but e.errno is 22 (EINVAL). Fix