[Python-ideas] datetime: Support infinity

Chris Barker chris.barker at noaa.gov
Thu Jan 29 20:09:04 CET 2015

On Thu, Jan 29, 2015 at 10:10 AM, <random832 at fastmail.us> wrote:

> Works fine on python 3.3.


> Python 2 raises exception from __lt__,

yeah, that's what I got -- we're on 2 for now. You'd think there wold be a
way to do it -- but I don't see a "reflected" versions of the comparison

But for anything new, it'd be in 3.5+ anyway, so sounds like we're good.

Though it would be nice to have it as a recipe for older versions.



Christopher Barker, Ph.D.

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/python-ideas/attachments/20150129/2403e503/attachment.html>

More information about the Python-ideas mailing list