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 Alexander.Belopolsky
Recipients Alexander.Belopolsky, Arfrever, belopolsky, cvrebert, nagle, r.david.murray, roysmith
Date 2012-09-09.14:38:16
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <741D9384-E541-41E7-9D81-DB2A4C910844@gmail.com>
In-reply-to <1347192903.1.0.815479107193.issue15873@psf.upfronthosting.co.za>
Content
On Sep 9, 2012, at 8:15 AM, Roy Smith <report@bugs.python.org> wrote:

> We need to define the scope of what input strings will be accepted.

Since it is easier to widen the domain of acceptable arguments than to narrow it in the future, I would say let's start by accepting str(x) only where x is date, time, timezone or datetime. I would leave out timedelta for now because it's str(x) does not resemble ISO at all. 

Either that or full ISO 8601. Anything in between is just too hard to explain.
History
Date User Action Args
2012-09-09 14:38:17Alexander.Belopolskysetrecipients: + Alexander.Belopolsky, roysmith, belopolsky, nagle, Arfrever, r.david.murray, cvrebert
2012-09-09 14:38:16Alexander.Belopolskylinkissue15873 messages
2012-09-09 14:38:16Alexander.Belopolskycreate