This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author eric.smith
Recipients eric.smith, ronaldoussoren
Date 2013-02-21.14:00:49
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1361455249.29.0.662049308448.issue17267@psf.upfronthosting.co.za>
In-reply-to
Content
What would this give:

   tm = datetime.time(13, 20)
   later = tm + datetime.timedelta(hours=47, minutes=44)

datetime.time(13, 4)? Or raise an exception?

I've thought about this before, but it's always a problem when going over date boundaries. If you define "+" to be modulo 24 hours, then it's not very useful for cases I've looked at. Every time I've used time by itself, I end up going back to datetime. But I'll admit that might be a shortcoming of mine, not the concept.
History
Date User Action Args
2013-02-21 14:00:49eric.smithsetrecipients: + eric.smith, ronaldoussoren
2013-02-21 14:00:49eric.smithsetmessageid: <1361455249.29.0.662049308448.issue17267@psf.upfronthosting.co.za>
2013-02-21 14:00:49eric.smithlinkissue17267 messages
2013-02-21 14:00:49eric.smithcreate