<html><head><meta http-equiv="content-type" content="text/html; charset=utf-8"></head><body dir="auto"><br><div>On Dec 7, 2017, at 7:52 PM, Mike Miller <<a href="mailto:python-dev@mgmiller.net">python-dev@mgmiller.net</a>> wrote:<br><br></div><blockquote type="cite"><div><span>Guess the argument for limiting what it accepts would be that every funky variation will need to be supported until the endtimes, even those of little use or utility.</span><br></div></blockquote><div><br></div><div>I suppose so, but not that hard once implemented and tests in place.</div><div><br></div><div>How about this for a “practicality beats purity†approach:</div><div><br></div><div>.fromiso() will parse the most commonly used iso8601 compliant date time strings.</div><div><br></div><div>It is guaranteed to properly parse the output of .isoformat()</div><div><br></div><div>It is Not a validator — it may except non-iso compliant strings, and may give surprising results when passed such.</div><div><end/></div><div><br></div><div>In any case, I sure hope it will accept iso strings both with and without the “Tâ€.</div><div><br></div><div>But again: Paul, do whatever you think is best.</div><div><br></div><div>-CHB</div><div><br></div><div><br></div><div><br></div><div><br></div><div><br></div><div><br></div><div><br></div><br><blockquote type="cite"><div><span></span><br><span>On the other hand, it might be good to keep the two implementations the same for consistency reasons.</span><br><span></span><br><span>Thanks either way,</span><br><span>-Mike</span><br><span></span><br><span></span><br><span>On 2017-12-07 17:57, Chris Barker - NOAA Federal wrote:</span><br><span>_______________________________________________</span><br><span>Python-Dev mailing list</span><br><span><a href="mailto:Python-Dev@python.org">Python-Dev@python.org</a></span><br><span><a href="https://mail.python.org/mailman/listinfo/python-dev">https://mail.python.org/mailman/listinfo/python-dev</a></span><br><span>Unsubscribe: <a href="https://mail.python.org/mailman/options/python-dev/chris.barker%40noaa.gov">https://mail.python.org/mailman/options/python-dev/chris.barker%40noaa.gov</a></span><br><span></span><br></div></blockquote></body></html>