summaryrefslogtreecommitdiffstats
path: root/Python/getversion.c
diff options
context:
space:
mode:
authorGuido van Rossum <guido@python.org>2007-11-16 00:24:44 (GMT)
committerGuido van Rossum <guido@python.org>2007-11-16 00:24:44 (GMT)
commit5397fd1a51d2f5bbb9ca1f5a385538e6072ced26 (patch)
tree958f4896779a17524d123d0ef0e7aadbc9237639 /Python/getversion.c
parent414c2b0819f908e87373cc7200fdfaa8a324b2b6 (diff)
downloadcpython-5397fd1a51d2f5bbb9ca1f5a385538e6072ced26.zip
cpython-5397fd1a51d2f5bbb9ca1f5a385538e6072ced26.tar.gz
cpython-5397fd1a51d2f5bbb9ca1f5a385538e6072ced26.tar.bz2
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().
Diffstat (limited to 'Python/getversion.c')
0 files changed, 0 insertions, 0 deletions