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-118518: RenamePYTHONPERFJITSUPPORT and-X perfjit with underscores#118693

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
pablogsal merged 2 commits intopython:mainfromhugovk:PYTHON_PERF_JIT_SUPPORT
May 7, 2024

Conversation

hugovk
Copy link
Member

@hugovkhugovk commentedMay 7, 2024
edited by github-actionsbot
Loading

This PR renames:

  • env varPYTHONPERFJITSUPPORT ->PYTHON_PERF_JIT_SUPPORT
  • -X perfjit ->-X perf_jit

From Python 3.13, new environment variables should use underscores:

I don't think we have a policy for-X options, and we have a mix (I think newer ones tend to use underscores?), but I recommend using an underscore here too for the same accessibility and readability reasons as env vars. Plus consistency with the env var.

For example, we addedPYTHON_CPU_COUNT and-X cpu_count in 3.13.

cc@pablogsal


📚 Documentation preview 📚:https://cpython-previews--118693.org.readthedocs.build/

Eclips4 reacted with thumbs up emoji
@hugovkhugovkforce-pushed thePYTHON_PERF_JIT_SUPPORT branch from13f27bb to54db163CompareMay 7, 2024 09:53
@hugovkhugovk changed the titlegh-118518: RenamePYTHONPERFJITSUPPORT and-X perfjitgh-118518: RenamePYTHONPERFJITSUPPORT and-X perfjit with underscoresMay 7, 2024
@hugovk
Copy link
MemberAuthor

@pablogsalpablogsal merged commit0485922 intopython:mainMay 7, 2024
38 checks passed
@hugovkhugovk deleted the PYTHON_PERF_JIT_SUPPORT branchMay 7, 2024 11:48
SonicField pushed a commit to SonicField/cpython that referenced this pull requestMay 8, 2024
Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment
Reviewers

@pablogsalpablogsalpablogsal approved these changes

@ericsnowcurrentlyericsnowcurrentlyAwaiting requested review from ericsnowcurrentlyericsnowcurrently is a code owner

@ezio-melottiezio-melottiAwaiting requested review from ezio-melotti

Assignees
No one assigned
Labels
None yet
Projects
None yet
Milestone
No milestone
Development

Successfully merging this pull request may close these issues.

2 participants
@hugovk@pablogsal

[8]ページ先頭

©2009-2025 Movatter.jp