This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author roudkerk
Recipients christian.heimes, gvanrossum, nnorwitz, roudkerk, theller
Date 2007-11-16.00:19:56
SpamBayes Score 0.058979027
Marked as misclassified No
Message-id <1195172396.92.0.566621559423.issue1378@psf.upfronthosting.co.za>
In-reply-to
Content
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.
Files
File name Uploaded
set_error.patch roudkerk, 2007-11-16.00:19:56
History
Date User Action Args
2007-11-16 00:19:57roudkerksetspambayes_score: 0.058979 -> 0.058979027
recipients: + roudkerk, gvanrossum, nnorwitz, theller, christian.heimes
2007-11-16 00:19:56roudkerksetspambayes_score: 0.058979 -> 0.058979
messageid: <1195172396.92.0.566621559423.issue1378@psf.upfronthosting.co.za>
2007-11-16 00:19:56roudkerklinkissue1378 messages
2007-11-16 00:19:56roudkerkcreate