On Fri, Sep 4, 2015 at 5:54 PM, Carl Meyer <[email protected]> wrote:

> [Tim]
> > The term "timeline arithmetic" (aka "strict arithmetic") was also made
> > up on this mailing list, but isn't needed to describe anything Python
> > does.
>
> Not even the thing that Python does when you subtract two datetimes
> whose tzinfo differs?
>

No, because in this case there is no sensible alternative other than what
is implemented and making it an error.  The only case where two options
make sense is the t1 - t2 case where t1.tzinfo is t2.tzinfo.  In this
case "timeline arithmetic"  is not used, so it does not need a name.
_______________________________________________
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/

Reply via email to