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


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

Re: [Datetime-SIG] Are there any "correct" implementations of tzinfo?

Started byRandom832 <random832@fastmail.com>
First post2015-09-14 16:08 -0400
Last post2015-09-14 16:08 -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: [Datetime-SIG] Are there any "correct" implementations of tzinfo? Random832 <random832@fastmail.com> - 2015-09-14 16:08 -0400

#96598 — Re: [Datetime-SIG] Are there any "correct" implementations of tzinfo?

FromRandom832 <random832@fastmail.com>
Date2015-09-14 16:08 -0400
SubjectRe: [Datetime-SIG] Are there any "correct" implementations of tzinfo?
Message-ID<mailman.562.1442261334.8327.python-list@python.org>
On Mon, Sep 14, 2015, at 15:48, Alexander Belopolsky wrote:
> On Mon, Sep 14, 2015 at 3:44 PM, Random832 <random832@fastmail.com>
> wrote:
> 
> > It is an
> > invariant that is true today, and therefore which you can't rely on any
> > of the consumers of this 12 years old widely deployed code not to assume
> > will remain true.
> >
> 
> Sorry, this sentence does not parse.  You are missing a "not" somewhere.

Nope. I am asserting that:

This invariant is true today.
Therefore, it is likely that at least some consumers of datetime will
assume it is true.
Therefore, you cannot rely on there not being any consumers which assume
it will remain true.

It's awkward, since when I go back to analyze it it turns out that the
"not" after 'code' actually technically modifies "any" earlier in the
sentence, but the number of negatives is correct. (Though, it actually
works out even without that change, since the question of *which*
consumers rely on the invariant is unknown.)

[toc] | [standalone]


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


csiph-web