gh-100972: For command line examples in the documentation, use "python" rather than "python3"#100973
gh-100972: For command line examples in the documentation, use "python" rather than "python3"#100973furkanonder wants to merge 2 commits intopython:mainfrom
Conversation
|
|
||
| * Python now gets the absolute path of the script filename specified on | ||
| the command line (ex: ``python3 script.py``): the ``__file__`` attribute of | ||
| the command line (ex: ``python script.py``): the ``__file__`` attribute of |
There was a problem hiding this comment.
I don't see much value in changing old release notes.
|
Doesn't this assume that the system Python installation will be Python 3.x such that "python" will start a 3.x interpreter? If that's the case, it shouldn't be needed to specify "python3" for "-m venv" usages, right? Also, is it definitely the case that "python" will invoke 3.x on all platforms, old and new? For example I have some (not very) old Ubuntu machines where "python3" is needed. Anyone following along the documentation with this change could run into problems. |
|
On my Mac, |
If there are problems with the Mac, I think this PR should be reverted. |
I disagree; reverting that PR will only create more churn (both in the git history, but more importantly also by burning CI and contributor time). I'm closing this and the linked issue:
|
Uh oh!
There was an error while loading. Please reload this page.