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

Random832 random832 at fastmail.com
Mon Sep 14 22:08:50 CEST 2015


On Mon, Sep 14, 2015, at 15:48, Alexander Belopolsky wrote:
> On Mon, Sep 14, 2015 at 3:44 PM, Random832 <random832 at 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.)


More information about the Datetime-SIG mailing list