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 steve.dower
Recipients BreamoreBoy, JohnLeitch, belopolsky, brycedarling, eryksun, georg.brandl, larry, lemburg, paul.moore, python-dev, steve.dower, tim.golden, vstinner, zach.ware
Date 2015-09-06.19:50:40
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1441569041.5.0.700002873922.issue24917@psf.upfronthosting.co.za>
In-reply-to
Content
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.
History
Date User Action Args
2015-09-06 19:50:41steve.dowersetrecipients: + steve.dower, lemburg, georg.brandl, paul.moore, belopolsky, vstinner, larry, tim.golden, BreamoreBoy, python-dev, zach.ware, eryksun, JohnLeitch, brycedarling
2015-09-06 19:50:41steve.dowersetmessageid: <1441569041.5.0.700002873922.issue24917@psf.upfronthosting.co.za>
2015-09-06 19:50:41steve.dowerlinkissue24917 messages
2015-09-06 19:50:41steve.dowercreate