A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://mail.python.org/pipermail/python-dev/2015-September/141778.html below:

[Python-Dev] PEP 495 accepted

[Python-Dev] PEP 495 accepted [Python-Dev] PEP 495 acceptedNathaniel Smith njs at pobox.com
Tue Sep 22 22:14:58 CEST 2015
On Sep 22, 2015 1:09 PM, "Alexander Belopolsky" <
alexander.belopolsky at gmail.com> wrote:
>
>
> On Tue, Sep 22, 2015 at 3:32 PM, Guido van Rossum <guido at python.org>
wrote:
>>
>> it is broken, due to the confusion about classic vs. timeline arithmetic
-- these have different needs but there's only one > operator.
>
>
> I feel silly trying to defend a design against its author. :-)  Yes, a
language with more than one > symbol would not have some of these
problems.  Similarly a language with a special symbol for string catenation
would not have a non-commutative + and non-distributive *.  All I am saying
is that I can live with the choices made in datetime.

Is there a good argument against at least deprecating inequality
comparisons and subtraction between mixed timezone datetimes? It seems like
a warning that would be likely to catch real bugs.

-n
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/python-dev/attachments/20150922/7d1acd24/attachment.html>
More information about the Python-Dev mailing list

RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4