On Tue, Sep 22, 2015 at 12:47 PM, Tim Peters <tim.pet...@gmail.com> wrote: > > I was just saying that in the specific, > complicated, contrived expression Nick presented, that it always > returns False (no matter which aware datetime he starts with) would be > more of a head-scratcher than if it raised a "can't compare naive and > aware datetimes" exception instead.
The current behavior is no fault of yours. Guido, Antoine and I share all the blame and credit for it. [1,2] [1]: http://bugs.python.org/issue15006 [2]: https://mail.python.org/pipermail/python-dev/2012-June/119933.html
_______________________________________________ Python-Dev mailing list Python-Dev@python.org https://mail.python.org/mailman/listinfo/python-dev Unsubscribe: https://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com