roudkerk added the comment: Currently on Windows set_error() make use of a large array which maps socket error numbers to error messages.
This patch (against socketmodule.c from Python 2.6) removes that array and just lets PyErr_SetExcFromWindowsErr() generate the message by using the Win32 function FormatMessage(). It is orthogonal from the other patches discussed here. Added file: http://bugs.python.org/file8761/set_error.patch __________________________________ Tracker <[EMAIL PROTECTED]> <http://bugs.python.org/issue1378> __________________________________
set_error.patch
Description: Binary data
_______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com