[Python-ideas] datetime: Support infinity

Ethan Furman ethan at stoneleaf.us
Thu Jan 29 20:14:22 CET 2015

On 01/29/2015 11:09 AM, Chris Barker wrote:
> On Thu, Jan 29, 2015 at 10:10 AM, random832 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.


-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 836 bytes
Desc: OpenPGP digital signature
URL: <http://mail.python.org/pipermail/python-ideas/attachments/20150129/8bc9437e/attachment.sig>

More information about the Python-ideas mailing list