Message361113
Please remember that not all Python programmers come from a C background
where `++n` is a pre-increment operator. Then may have a OOP background
where the unary `+` and `-` operators can do anything they like.
Making `--obj` or `++obj` a syntax error is a backwards-incompatible
change that will break people's code. We take backwards compatibility
seriously. Python is a mature language with millions of users, we don't
break their code lightly.
As you were told (twice) last year, this change will not be considered
until you take it to the Python-Ideas mailing list for feedback. If you
have done this, please post a link to the discussion.
If you get a consensus that the change is a good idea, you need to find
a core developer to sponsor a PEP, then write the PEP, and ask the
Steering Council to approve it. Only then will the PR be approved. |
|
Date |
User |
Action |
Args |
2020-01-31 14:50:15 | steven.daprano | set | recipients:
+ steven.daprano, eric.smith, shihai1991 |
2020-01-31 14:50:15 | steven.daprano | link | issue37304 messages |
2020-01-31 14:50:15 | steven.daprano | create | |
|