Message249965
Yikes--your comment prompted me to look at the check-in, and it seems my patch wasn't properly applied. The curly braces got tweaked, which is minor as you stated, but more importantly the AIX code should not decref format. That could introduce problems bigger than what this patch was attempting to fix.
And, not to dwell, but where do you see a keyword immediately followed by a left parens? I want to make sure everything is properly polished in the future, and the only thing I see is the untouched "for".
Regarding your initial concerns:
1) I think we should enforce no trailing % so as to not pass format strings that may cause undefined behavior.
2) How about expecting ValueError on Windows/AIX, and pass on all other platforms? |
|
Date |
User |
Action |
Args |
2015-09-06 05:30:57 | JohnLeitch | set | recipients:
+ JohnLeitch, lemburg, georg.brandl, paul.moore, belopolsky, vstinner, larry, tim.golden, BreamoreBoy, python-dev, zach.ware, eryksun, steve.dower, brycedarling |
2015-09-06 05:30:57 | JohnLeitch | set | messageid: <1441517457.58.0.698560349236.issue24917@psf.upfronthosting.co.za> |
2015-09-06 05:30:57 | JohnLeitch | link | issue24917 messages |
2015-09-06 05:30:57 | JohnLeitch | create | |
|