[Python-ideas] datetime: Support infinity

Chris Barker chris.barker at noaa.gov
Thu Jan 29 20:18:40 CET 2015


On Thu, Jan 29, 2015 at 11:14 AM, Ethan Furman <ethan at stoneleaf.us> wrote:

> >> 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 operators.
>
> Raising an exception was a bug.  The comparison operators are their own
> reflection.
>

So does that mean it could be fixed in 2.* ? (or already has been?)

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


More information about the Python-ideas mailing list