commit | 5397fd1a51d2f5bbb9ca1f5a385538e6072ced26 | [log] [tgz] |
---|---|---|
author | Guido van Rossum <guido@python.org> | Fri Nov 16 00:24:44 2007 +0000 |
committer | Guido van Rossum <guido@python.org> | Fri Nov 16 00:24:44 2007 +0000 |
tree | 958f4896779a17524d123d0ef0e7aadbc9237639 | |
parent | 414c2b0819f908e87373cc7200fdfaa8a324b2b6 [diff] |
A patch from issue 1378 by roudkerk: Currently on Windows set_error() make use of a large array which maps socket error numbers to error messages. This patch removes that array and just lets PyErr_SetExcFromWindowsErr() generate the message by using the Win32 function FormatMessage().