[Datetime-SIG] Clearing up terminology
Chris Barker
chris.barker at noaa.gov
Thu Jul 30 22:06:20 CEST 2015
On Thu, Jul 30, 2015 at 12:51 PM, Tim Peters <tim.peters at gmail.com> 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
Chris.Barker at noaa.gov
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/datetime-sig/attachments/20150730/2e960938/attachment.html>
More information about the Datetime-SIG
mailing list