Patches item #1754484, was opened at 2007-07-16 00:54 Message generated for change (Comment added) made by amauryf You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=305470&aid=1754484&group_id=5470
Please note that this message will contain a full copy of the comment thread, including the initial issue submission, for this request, not just the latest update. Category: Core (C code) Group: Python 3000 Status: Open Resolution: None Priority: 5 Private: No Submitted By: Amaury Forgeot d'Arc (amauryf) >Assigned to: Guido van Rossum (gvanrossum) Summary: struni: Various patches for windows Initial Comment: Here are three patches for errors I found by running random tests on windows: 1 - bltin.diff: MSVC compiler does not accept #ifdef inside macro parameters (http://support.microsoft.com/kb/38291). Seems ugly, but I think I respected the spirit of the PyDoc_ macros. 2 - unicode.diff: a 'off-by-one' pointer error in PyUnicode_FromFormat that crashes the interpreter when an item cannot be converted by %U: print(OSError(1, str8(b'\xe9'))) 3 - windowserror.diff: UnicodeDecodeError is raised when the error message returned by the w32 function FormatMessage() contains French accented characters. (it crashed the interpreted before patch#2...) ---------------------------------------------------------------------- >Comment By: Amaury Forgeot d'Arc (amauryf) Date: 2007-07-16 00:56 Message: Logged In: YES user_id=389140 Originator: YES File Added: windowserror.diff ---------------------------------------------------------------------- Comment By: Amaury Forgeot d'Arc (amauryf) Date: 2007-07-16 00:55 Message: Logged In: YES user_id=389140 Originator: YES File Added: unicode.diff ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=305470&aid=1754484&group_id=5470 _______________________________________________ Patches mailing list Patches@python.org http://mail.python.org/mailman/listinfo/patches