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
Date 2020-02-01.10:48:00
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1580554081.01.0.712736172146.issue39516@roundup.psfhosted.org>
In-reply-to
Content
Python 3.9.0a0 (heads/master-dirty:d8ca2354ed, Oct 30 2019, 20:25:01) 
[GCC 9.2.1 20190909] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> 1 ++ 2
3

This is probably because the interpreter reads:

1 + +2

1. ++ could be an operator in future. Probably not. Probably never. But you never know.
2. A space between an unary operator and the object should not be allowed
3. the first expression is clearly unreadable and hard to understand, so completely unpythonic
History
Date User Action Args
2020-02-01 10:48:01Marco Sullasetrecipients: + Marco Sulla
2020-02-01 10:48:01Marco Sullasetmessageid: <1580554081.01.0.712736172146.issue39516@roundup.psfhosted.org>
2020-02-01 10:48:00Marco Sullalinkissue39516 messages
2020-02-01 10:48:00Marco Sullacreate