Steve Dower added the comment:

New patch attached that just breaks out of the scanning loop and lets the 
system CRT handle invalid format strings. Fixes the condition that was 
suppressing some errors on Windows.

Also fixed the PEP 7 issues around the changed code (I believe). No new test 
because the crash cannot be reliably reproduced and the expected results vary 
dramatically between platforms.

The two if/break lines in the AIX branch should also be applied to 3.4 to 
prevent crashes. The rest of the fix (including the PEP 7 fixes) should not.

----------
versions:  -Python 3.2, Python 3.3
Added file: http://bugs.python.org/file40383/24917_4.patch

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue24917>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to