Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python > #96449 > unrolled thread

Re: Are there any "correct" implementations of tzinfo?

Started byrandom832@fastmail.us
First post2015-09-12 15:18 -0400
Last post2015-09-12 15:18 -0400
Articles 1 — 1 participant

Back to article view | Back to comp.lang.python

This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by below is the oldest one visible, not the original post.


Contents

  Re: Are there any "correct" implementations of tzinfo? random832@fastmail.us - 2015-09-12 15:18 -0400

#96449 — Re: Are there any "correct" implementations of tzinfo?

Fromrandom832@fastmail.us
Date2015-09-12 15:18 -0400
SubjectRe: Are there any "correct" implementations of tzinfo?
Message-ID<mailman.439.1442085541.8327.python-list@python.org>
On Sat, Sep 12, 2015, at 14:36, Carl Meyer wrote:
> Well, the problem is that because datetime doesn't include any way to
> disambiguate ambiguous times, it's not really possible to implement
> complex timezones in a way that is both correct (if your definition of
> correct includes "timezone conversions are lossless") and also matches
> the intended model of datetime.

I'm not even talking about ambiguous times. I'm mostly talking about
unambiguous times on opposite sides of the transition. It's not even
clear to me how the model of datetime envisions _those_ working with
"classic arithmetic".

[toc] | [standalone]


Back to top | Article view | comp.lang.python


csiph-web