Message214154
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)
's'
>>> "{:7s}".format(a)
'7s'
>>> "{!s}".format(a)
'1999-07-07 00:00:00'
>>> |
|
Date |
User |
Action |
Args |
2014-03-19 23:53:59 | hct | set | recipients:
+ hct, mark.dickinson, eric.smith, ezio.melotti, r.david.murray, flox, meador.inge, python-dev |
2014-03-19 23:53:59 | hct | set | messageid: <1395273239.74.0.927674766388.issue7994@psf.upfronthosting.co.za> |
2014-03-19 23:53:59 | hct | link | issue7994 messages |
2014-03-19 23:53:59 | hct | create | |
|