GeezerVisonThe World Wide Web, restored to 800 pixels of glory. | ||||||||||
| Home|About|Gaming cabinet|Archives|How it works|Starter sites | ||||||||||
GeezerVison is showing github.com — gh-98763: Prefer "python" over "python3" for command line examples in docs. by felixxm · Pull Request #98761 · python/cpython Conversation
|
|
Thanks! We generally create issues for everything except the most trivial changes, to ensure visibility -- would you mind creating an issue for this? |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
9ef0759 to
81e0988
Compare
Created 👍 |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
There was a problem hiding this comment.
The reason will be displayed to describe this comment to others. Learn more.
Thank you!
I'm in favour of merging, given:
Sorry, something went wrong.
There was an error while loading. Please reload this page.
There was a problem hiding this comment.
The reason will be displayed to describe this comment to others. Learn more.
I agree but it's probably good to get some more opinions. @warsaw as one of the authors of PEP 394, what do you think?
Sorry, something went wrong.
There was an error while loading. Please reload this page.
|
Gah! GH lost the long comment I was composing. I think it's worth revisiting PEP 394 in light of Python 2's EOL, but I am not involved in distro maintenance these days. @doko42 and @encukou might have relevant input here. On modern macOS, there's no 3 years on, I think it's time to reclaim |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
In Django docs, we have a custom extension for the I could prepare a similar solution for Python docs and the |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
|
@felixxm That's nice, although the distinction between the tab labels may not always be correct (i.e. install |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
Apple dropped Python from the macOS install, so the closest you get to Python being automatically installed now on an OS is some Linux distros and Windows and it's |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
There was an error while loading. Please reload this page.
As a Windows user, I'd personally much prefer "python" in the docs to "python3". I tried installing it from the Windows Store once, and it didn't work (can't remember why not, I don't think I ever dug too deeply). Since then I've always installed it from python.org because, well, it's never not worked. Unfortunately, because I installed it from python.org rather than the Windows Store, |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
There was a problem hiding this comment.
The reason will be displayed to describe this comment to others. Learn more.
I can't speak for all Linux distros, let alone other platforms, but as far as I know it'd be best to follow the ”For end users of Python” section of PEP 394:
While far from being universally available,
pythonremains the preferred spelling for explicitly invoking Python.
While a lot of the PEP's reasoning is outdated nowadays, I think the actual recommendations have aged pretty well.
Sorry, something went wrong.
There was an error while loading. Please reload this page.
|
@encukou Does that mean that the modern Fedora ecosystem provides (I haven't been a user or contributor to Debuntu in years so I haven't kept up.) |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
Yes. Back in 2019 we updated PEP 394 so we could do that :) The “unversioned” |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
81e0988 to
cb27624
Compare
cb27624 to
d89202c
Compare
|
As far as I'm aware, we reached a consensus to use |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
There was a problem hiding this comment.
The reason will be displayed to describe this comment to others. Learn more.
LGTM, time to get this in!
Sorry, something went wrong.
There was an error while loading. Please reload this page.
There was an error while loading. Please reload this page.
Successfully merging this pull request may close these issues.
There was an error while loading. Please reload this page.