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 ethan.furman
Recipients barry, eli.bendersky, eric.smith, ethan.furman, serhiy.storchaka
Date 2013-08-16.04:24:20
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <520DA974.4040006@stoneleaf.us>
In-reply-to <520D71C6.40409@trueblade.com>
Content
> Eric V. Smith added the comment:
>
> But a datetime format string can end in "0", for example.
>
>>>> format(datetime.datetime.now(), '%H:%M:%S.00')
> '20:25:27.00'

Not a problem, because once the digits were removed there would still be % : H M S and ., so the datetime format would 
be called.  str format would only be called when the result of removing < ^ > 0 1 2 3 4 5 6 7 8 9 was an empty string.
History
Date User Action Args
2013-08-16 04:24:21ethan.furmansetrecipients: + ethan.furman, barry, eric.smith, eli.bendersky, serhiy.storchaka
2013-08-16 04:24:20ethan.furmanlinkissue18738 messages
2013-08-16 04:24:20ethan.furmancreate