Is assigning the same thing assigning? #bpo-19953 by feliam · Pull Request #11763 · python/cpython (original) (raw)
Hi @feliam, thanks for trying to contribute in Python!
Please read the process to follow before opening a pull request:
Please read this comment in its entirety. It's quite important.
Pull Request title
It should be in the following format:
bpo-NNNN: Summary of the changes made
Where: bpo-NNNN refers to the issue number in the https://bugs.python.org.
Most PRs will require an issue number. Trivial changes, like fixing a typo, do not need an issue.
Backport Pull Request title
If this is a backport PR (PR made against branches other than
master
),
please ensure that the PR title is in the following format:[X.Y] <title from the original PR> (GH-NNNN)
Where: [X.Y] is the branch name, e.g. [3.6].
GH-NNNN refers to the PR number from
master
.
You can also find some important information at https://devguide.python.org/
There is no bug report opened for your PR and a change to the language should be discussed first on the mailing list python-idea and python-dev. You must discuss proposed changes before opening a PR.
I don't think this proposal has much chances to be accepted, there is no use in having this and it would only encourage bad habits. You cannot assign to tuples, why would you encourage doing it? It's useless in the end.
There's many other places where assignment of the same object would still break like frozen data-classes for example.
If you wish to find some already opened bug reports to start contributing to Python you can look at the bug tracker: https://bugs.python.org/issue?status=1&@sort=-activity&@columns=id%2Cactivity%2Ctitle%2Ccreator%2Cstatus&@dispname=Easy%20issues&@startwith=0&@group=priority&keywords=6&@action=search&@filter=&@pagesize=50