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 belopolsky
Recipients BreamoreBoy, JohnLeitch, belopolsky, brycedarling, larry, lemburg, paul.moore, steve.dower, tim.golden, vstinner, zach.ware
Date 2015-09-05.01:49:28
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1441417769.05.0.757950339519.issue24917@psf.upfronthosting.co.za>
In-reply-to
Content
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".
History
Date User Action Args
2015-09-05 01:49:29belopolskysetrecipients: + belopolsky, lemburg, paul.moore, vstinner, larry, tim.golden, BreamoreBoy, zach.ware, steve.dower, JohnLeitch, brycedarling
2015-09-05 01:49:29belopolskysetmessageid: <1441417769.05.0.757950339519.issue24917@psf.upfronthosting.co.za>
2015-09-05 01:49:29belopolskylinkissue24917 messages
2015-09-05 01:49:28belopolskycreate