python3, python2: clean up templates andgg dead alternatives, combine python2 and python2-tkinter #54161
+95
−157
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
The
2to3
script is gone in ourpython3
, making the2to3
alternative obsolete. Theidle
alternative in the mainpython3
package is wrong, because it produces a dead symlink whenidle-python3
is not installed.Rather than split off a new
idle
alternative that behaves properly, it's better to just make a fixedidle
symlink in theidle-python3
package, dropidle
from thepython
alternative in thepython2
package, and move on. This means that py2 users will have to useidle2
oridle2.7
, but we shouldn't worry about that anymore. It's a dead package that is already marked for "limited use".At the same time, we don't have to worry about cycles with
python2
, so we can drop the split package and build the whole thing together.Eventually, we should drop the alternatives for
python2
entirely, but that's a broader scope that I don't want to think about at the moment.Closes: #54154.
cc: @leahneukirchen