Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

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

Merged
terryjreedy merged 2 commits intopython:mainfromterryjreedy:timeit
Jul 1, 2023

Conversation

@terryjreedy
Copy link
Member

@terryjreedyterryjreedy commentedJun 30, 2023
edited by github-actionsbot
Loading

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/

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
Copy link
MemberAuthor

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.

@terryjreedyterryjreedy merged commit04dfc6f intopython:mainJul 1, 2023
@miss-islington
Copy link
Contributor

Thanks@terryjreedy for the PR 🌮🎉.. I'm working now to backport this PR to: 3.11, 3.12.
🐍🍒⛏🤖

@miss-islington
Copy link
Contributor

Sorry,@terryjreedy, I could not cleanly backport this to3.11 due to a conflict.
Please backport usingcherry_picker on command line.
cherry_picker 04dfc6fa9018e92a5b51c29fc0ff45419c596bc3 3.11

miss-islington pushed a commit to miss-islington/cpython that referenced this pull requestJul 1, 2023
…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
Copy link

GH-106298 is a backport of this pull request to the3.12 branch.

@bedevere-botbedevere-bot removed the needs backport to 3.12only security fixes labelJul 1, 2023
@terryjreedyterryjreedy deleted the timeit branchJuly 1, 2023 02:35
terryjreedy added a commit that referenced this pull requestJul 1, 2023
…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>
@terryjreedyterryjreedy removed the needs backport to 3.11only security fixes labelJul 1, 2023
@terryjreedy
Copy link
MemberAuthor

The 3.11 merge conflict is because 'python' was 'python3' in 3.11, and changed in 3.12. I am not going to backport.

manosriram pushed a commit to manosriram/cpython that referenced this pull requestJul 1, 2023
…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.
Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment

Reviewers

No reviews

Assignees

@terryjreedyterryjreedy

Labels

docsDocumentation in the Doc dir

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

3 participants

@terryjreedy@miss-islington@bedevere-bot

[8]ページ先頭

©2009-2025 Movatter.jp