Uh oh!
There was an error while loading.Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork33.3k
gh-106232: Make timeit doc command lines compatible with Windows.#106296
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to ourterms of service andprivacy statement. We’ll occasionally send you account related emails.
Already on GitHub?Sign in to your account
Conversation
Command Prompt (CMD Shell) and older versions of PowerShellrequire double quotes and single quotes inside the string.This form also works on linux and macOS.
terryjreedy commentedJun 30, 2023
I tested revised lines by copy and pasting into Command Prompt. I tested "-form on macOS and other coredevs on linux and Windows-Bash. I checked all hits for 'python -m' in Doc/library, Doc/using/, Doc/tutorial and timeit hits were the only ones needing fixes. |
miss-islington commentedJul 1, 2023
Thanks@terryjreedy for the PR 🌮🎉.. I'm working now to backport this PR to: 3.11, 3.12. |
miss-islington commentedJul 1, 2023
Sorry,@terryjreedy, I could not cleanly backport this to |
…s. (pythonGH-106296)Command Prompt (CMD Shell) and older versions of PowerShellrequire double quotes and single quotes inside the string.This form also works on linux and macOS.(cherry picked from commit04dfc6f)Co-authored-by: Terry Jan Reedy <tjreedy@udel.edu>
bedevere-bot commentedJul 1, 2023
GH-106298 is a backport of this pull request to the3.12 branch. |
…ws. (GH-106296) (#106298)gh-106232: Make timeit doc command lines compatible with Windows. (GH-106296)Command Prompt (CMD Shell) and older versions of PowerShellrequire double quotes and single quotes inside the string.This form also works on linux and macOS.(cherry picked from commit04dfc6f)Co-authored-by: Terry Jan Reedy <tjreedy@udel.edu>
terryjreedy commentedJul 1, 2023
The 3.11 merge conflict is because 'python' was 'python3' in 3.11, and changed in 3.12. I am not going to backport. |
…s. (python#106296)Command Prompt (CMD Shell) and older versions of PowerShellrequire double quotes and single quotes inside the string.This form also works on linux and macOS.
Uh oh!
There was an error while loading.Please reload this page.
Command Prompt (CMD Shell) and older versions of PowerShell
require double quotes and single quotes inside the string.
This form also works on linux and macOS.
📚 Documentation preview 📚:https://cpython-previews--106296.org.readthedocs.build/