On Thursday, July 5, 2012 11:34:16 AM UTC-6, John Nagle wrote: >[...] > You can also call time.time(), and get the number of seconds > since the epoch (usually 1970-01-01 00:00:00 UTC). That's just > a number, and you can do arithmetic on that. > > Adding a datetime.time to a datetime.timedelta isn't that > useful.
It certainly is useful and I gave an obvious and real- world example in my previous post. > It would have to return a value error if the result > crossed a day boundary. Why? When I turn the adjustment knob on my analog clock it crosses the day boundary from 23:59 to 0:00 with no problem whatsoever. Why is Python unable to do what billions of clocks do? Instead I have to convert everything to seconds and do the same math I would have done in fortran in 1980. Phew. Another example of Pythonic "purity beats practicality" -- http://mail.python.org/mailman/listinfo/python-list