Message170104
| 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. |
|