[Datetime-SIG] Conversion vs arithmetic (was Re: Is EDT a timezone? Was: PEP-0500)

Alexander Belopolsky alexander.belopolsky at gmail.com
Tue Aug 25 02:00:58 CEST 2015


On Mon, Aug 24, 2015 at 7:55 PM, Carl Meyer <carl at oddbird.net> wrote:

> But you're changing the subject. That exercise requires far more
> detailed knowledge of the tzinfo APIs than is required to understand
> that a single added disambiguating bit is enough to handle timezone
> conversions, even in the presence of (two-layered) folds and gaps.
>

Sorry for that.  Meanwhile, however Tim has responded and the point that
both of us think is misunderstood is that contrary to Stuart's assertion
below and at the top of this thread, all conversion issues can be addressed
without any change to arithmetic.  (Moreover, addressing them with classic
arithmetic is easier.)

[Stuart Bishop <stuart at stuartbishop.net>]
> ...
> Conversion was the larger issue, and to do that correctly the
> arithmetic needed to be fixed.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/datetime-sig/attachments/20150824/47f3a946/attachment.html>


More information about the Datetime-SIG mailing list