New submission from JordanS :
format() cannot handle datetime.DateTime objects, returns the format_spec
instead, without applying formatting to it, perhaps default behaviour in case
of unknown type. Different modifications, ie: using str.format() syntax produce
same behaviour.
Sample code
JordanS added the comment:
sorry, first time posting anything like this:
versions:
Python 2.6.4 (r264:75708, Oct 26 2009, 08:23:19) [MSC v.1500 32 bit (Intel)] on
win32
--
___
Python tracker
<http://bugs.python.org/issue7