[Python-ideas] Making datetime __str__ and isoformat more consistent
Ethan Furman
ethan at stoneleaf.us
Fri Nov 1 20:49:35 CET 2013
On 11/01/2013 11:15 AM, Skip Montanaro wrote:
> http://bugs.python.org/issue19475
>
> Do others agree with me that consistency in this situation is better than
> the current behavior?
I haven't seen the arguments in favor of this awkward behavior, so I may change my mind, but at the moment I would
certainly argue for consistency: either emit microseconds in __str__ or ignore remaining microseconds or ignore a
trailing %f (or all three ;) .
--
~Ethan~
More information about the Python-ideas
mailing list