[re-adding the list] On Fri, Jul 31, 2015 at 6:21 PM, Ćukasz Rekucki <[email protected]> wrote:
> On 31 July 2015 at 18:02, Guido van Rossum <[email protected]> wrote: > > On Fri, Jul 31, 2015 at 5:15 AM, Chris Barker <[email protected]> > wrote: > >> > >> On Thu, Jul 30, 2015 at 6:09 PM, Ethan Furman <[email protected]> > wrote: > >>> > >>> On 07/30/2015 06:04 PM, Tim Peters wrote: > >>> > >>>> I like Alexander's new tzstrict (subclass of tzinfo) idea best so far. > > > > > > I like it too. > > What happens then when you substract a datetime with *strict* tzinfo > and a *naive* one? Would A - B == - (B - A) still be true ? That's for the authors of the new PEP to decide, really, but I think it could be made to follow the strict rules in both cases, since clearly the code isn't an old program requiring backward compatibility (how would such a program end up with a strict tzinfo?). -- --Guido van Rossum (python.org/~guido)
_______________________________________________ Datetime-SIG mailing list [email protected] https://mail.python.org/mailman/listinfo/datetime-sig The PSF Code of Conduct applies to this mailing list: https://www.python.org/psf/codeofconduct/
