On Thu, Jul 30, 2015 at 12:51 PM, Tim Peters <[email protected]> wrote:

> I _think_ I've divined the intent now:
>
> - "classic arithmetic":  what Python datetime arithmetic currently does
>
> - "strict arithmetic":  aka timeline arithmetic, what Lennart wants
>

aka "Duration Arithmetic"


> - "human arithmetic"  aka "calendar operations"


aka "Period Arithmetic"


>  For example, there "should be" a way to spell "an
> hour from now" that follows "strict arithmetic" rules when the
> datetime is aware.
>
> Or not ;-)
>

well, "should" is a loaded word, but it would be very, very useful (to some
of us anyway). I deal with scientific datasets, I NEVER want 86400 seconds
later to mean 23 or 25 hours later ;-)

-Chris


-- 

Christopher Barker, Ph.D.
Oceanographer

Emergency Response Division
NOAA/NOS/OR&R            (206) 526-6959   voice
7600 Sand Point Way NE   (206) 526-6329   fax
Seattle, WA  98115       (206) 526-6317   main reception

[email protected]
_______________________________________________
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