Alexander Belopolsky added the comment:
Hmm, on Mac OSX "%" and "A%" are valid format strings:
>>> time.strftime("%")
'%'
>>> time.strftime("A%")
'A%'
Mark's experiments show that on Windows they are not. What about the other
platforms affected by the patch? I am concerned about the bottom part of the
patch.
A nitpick: an existing error message is "Invalid format string". I would
either reuse it or make it "Incomplete format string".
----------
_______________________________________
Python tracker <[email protected]>
<http://bugs.python.org/issue24917>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe:
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com