Patches item #1754484, was opened at 2007-07-16 00:54
Message generated for change (Tracker Item Submitted) made by Item Submitter
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: Nobody/Anonymous (nobody)
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...)

----------------------------------------------------------------------

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

Reply via email to