[Datetime-SIG] PEP-495 - Strict Invalid Time Checking

Alexander Belopolsky alexander.belopolsky at gmail.com
Tue Aug 25 23:01:38 CEST 2015


On Tue, Aug 25, 2015 at 4:48 PM, Carl Meyer <carl at oddbird.net> wrote:

> If you accept this, and still
> think that the best API datetime can provide is "localize twice and
> figure it out yourself", I'm not interested in arguing the point.
>

Trust me, I considered many other options, but I have 4000+ lines of
datetime unit tests that I cannot break.  If you can come up with a patch
that does what you want and passes python -m test test_datetime - I would
certainly like to see it.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/datetime-sig/attachments/20150825/e850bde3/attachment.html>


More information about the Datetime-SIG mailing list