[Python-ideas] datetime: Support infinity

random832 at fastmail.us random832 at fastmail.us
Thu Jan 29 19:10:37 CET 2015


On Thu, Jan 29, 2015, at 02:04, Chris Barker wrote:
> I had trouble with that, because the regular datetime doesn't know how to
> compare itself to a neg_inf object.

Works fine on python 3.3. Python 2 raises exception from __lt__, python
3 returns NotImplemented.


More information about the Python-ideas mailing list