[issue8967] Create PyErr_GetWindowsMessage() function

2011-03-01 Thread STINNER Victor
STINNER Victor added the comment: This issue doesn't solve any real issue. I prefer to close it because I don't need it anymore. -- resolution: -> invalid status: open -> closed ___ Python tracker ___

[issue8967] Create PyErr_GetWindowsMessage() function

2010-06-10 Thread STINNER Victor
New submission from STINNER Victor : PyErr_SetExcFromWindowsErrWithFilenameObject() and PyErr_SetFromErrnoWithFilenameObject() have the same code to read the localized error message. The code can be factorized in a new function PyErr_GetWindowsMessage(). About the patch: - free s_buf just af