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 ezio.melotti
Recipients doerwalter, ezio.melotti, georg.brandl, pitrou, r.david.murray, tim.peters
Date 2009-11-20.12:23:41
SpamBayes Score 2.7653304e-09
Marked as misclassified No
Message-id <1258719823.65.0.46598506013.issue7342@psf.upfronthosting.co.za>
In-reply-to
Content
Yes, I wrote the previous message from a cellphone and I wasn't able to
check the doc. It is indeed already documented in datetime.__str__ --
sorry for the noise.
I also noticed that the microseconds are not the only thing that can
change in datetime.isoformat(), there are also the separator and the UTC
offset, so if someone is parsing the output of str(d)/d.isoformat(), he
should already include other checks anyway.

I agree that only the test should be fixed (and possibly others tests
should be added to check that str() outputs the right thing when there
is a UTC offset and/or a different separator).

I'll work on a patch for that.
History
Date User Action Args
2009-11-20 12:23:44ezio.melottisetrecipients: + ezio.melotti, tim.peters, doerwalter, georg.brandl, pitrou, r.david.murray
2009-11-20 12:23:43ezio.melottisetmessageid: <1258719823.65.0.46598506013.issue7342@psf.upfronthosting.co.za>
2009-11-20 12:23:41ezio.melottilinkissue7342 messages
2009-11-20 12:23:41ezio.melotticreate