Message361159
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 |
|
Date |
User |
Action |
Args |
2020-02-01 10:48:01 | Marco Sulla | set | recipients:
+ Marco Sulla |
2020-02-01 10:48:01 | Marco Sulla | set | messageid: <1580554081.01.0.712736172146.issue39516@roundup.psfhosted.org> |
2020-02-01 10:48:00 | Marco Sulla | link | issue39516 messages |
2020-02-01 10:48:00 | Marco Sulla | create | |
|