]> granicus.if.org Git - python/commit
A patch from issue 1378 by roudkerk:
authorGuido van Rossum <guido@python.org>
Fri, 16 Nov 2007 00:24:44 +0000 (00:24 +0000)
committerGuido van Rossum <guido@python.org>
Fri, 16 Nov 2007 00:24:44 +0000 (00:24 +0000)
commit5397fd1a51d2f5bbb9ca1f5a385538e6072ced26
tree958f4896779a17524d123d0ef0e7aadbc9237639
parent414c2b0819f908e87373cc7200fdfaa8a324b2b6
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().
Modules/socketmodule.c