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 belopolsky
Recipients belopolsky, elixir, ezio.melotti, gvanrossum, r.david.murray, skip.montanaro, terry.reedy, tim.peters, vstinner
Date 2013-11-05.15:48:38
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1383666518.52.0.0521934023032.issue19475@psf.upfronthosting.co.za>
In-reply-to
Content
+1 on adding an option to isoformat().  We already have an optional <sep> argument, so the symmetry with __str__ is not complete.  To make this option more useful, rather than implementing always_emit_microseconds=False flag, I would add a keyword argument 'precision' that would take ('hour'|'minute'|'second'|millisecond'|'microsecond') value.
History
Date User Action Args
2013-11-05 15:48:38belopolskysetrecipients: + belopolsky, gvanrossum, tim.peters, skip.montanaro, terry.reedy, vstinner, ezio.melotti, r.david.murray, elixir
2013-11-05 15:48:38belopolskysetmessageid: <1383666518.52.0.0521934023032.issue19475@psf.upfronthosting.co.za>
2013-11-05 15:48:38belopolskylinkissue19475 messages
2013-11-05 15:48:38belopolskycreate