John Leitch added the comment:

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?

----------

_______________________________________
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