This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author Marco Sulla
Recipients Marco Sulla, steven.daprano
Date 2020-02-01.14:56:43
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1580569003.41.0.582109148146.issue39516@roundup.psfhosted.org>
In-reply-to
Content
> This is not a bug
No one said it's a bug. It's a defect.

> This has been part of Python since version 1
There are many things that was part of Python 1 that was removed.

> `++` should never be an operator in the future, precisely because it already has a meaning today

This is not a "meaning". `++` means nothing. Indeed

>>> 1++
  File "<stdin>", line 1
    1++
      ^
SyntaxError: invalid syntax

> The first expression is not "unreadable". The fact that you were able to read it and diagnose it [...]

The fact I understood it it's because I'm a programmer with more than 10 years of experience, mainly in Python. And I discovered this defect by acccident, because I wanted to write `a += b` and instead I wrote `a ++ b`. And when happened, I didn't realized why it didn't raised a SyntaxError or, at least, a SyntaxWarning. I had to take some minutes to realize the problem. 

So, in my "humble" opinion, it's *highly* unreadable and surprising.
History
Date User Action Args
2020-02-01 14:56:43Marco Sullasetrecipients: + Marco Sulla, steven.daprano
2020-02-01 14:56:43Marco Sullasetmessageid: <1580569003.41.0.582109148146.issue39516@roundup.psfhosted.org>
2020-02-01 14:56:43Marco Sullalinkissue39516 messages
2020-02-01 14:56:43Marco Sullacreate