Re: [Python-Dev] PEP 495 accepted

2015年9月22日 10:33:14 -0700

On Tue, Sep 22, 2015 at 12:47 PM, Tim Peters <[email protected]> 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
[email protected]
https://mail.python.org/mailman/listinfo/python-dev
Unsubscribe: 
https://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com

Reply via email to