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 hct
Recipients eric.smith, ezio.melotti, flox, hct, mark.dickinson, meador.inge, python-dev, r.david.murray
Date 2014-03-19.23:53:59
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <>
unlike NoneType, datetime doesn't throw exception. is returning the format specifier the intended behaviour of this fix?

>>> import datetime
>>> a=datetime.datetime(1999,7,7)
>>> str(a)
'1999-07-07 00:00:00'
>>> "{:s}".format(a)
>>> "{:7s}".format(a)
>>> "{!s}".format(a)
'1999-07-07 00:00:00'
Date User Action Args
2014-03-19 23:53:59hctsetrecipients: + hct, mark.dickinson, eric.smith, ezio.melotti, r.david.murray, flox, meador.inge, python-dev
2014-03-19 23:53:59hctsetmessageid: <>
2014-03-19 23:53:59hctlinkissue7994 messages
2014-03-19 23:53:59hctcreate