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-133231: Add JIT utilities insys._jit#133233

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
brandtbucher merged 17 commits intopython:mainfrombrandtbucher:sys-jit
May 5, 2025

Conversation

brandtbucher
Copy link
Member

@brandtbucherbrandtbucher commentedMay 1, 2025
edited by github-actionsbot
Loading

@brandtbucherbrandtbucher added type-featureA feature request or enhancement interpreter-core(Objects, Python, Grammar, and Parser dirs) topic-JIT labelsMay 1, 2025
@brandtbucherbrandtbucher self-assigned thisMay 1, 2025
Copy link
Member

@AA-TurnerAA-Turner left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others.Learn more.

quick doc-only review:

Comment on lines +1284 to +1290
.. envvar:: PYTHON_JIT

On builds where experimental just-in-time compilation is available, this
variable can force the JIT to be disabled (``0``) or enabled (``1``) at
interpreter startup.

.. versionadded:: 3.13
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others.Learn more.

We should backport this, should it be split out into a different PR for ease?

Copy link
MemberAuthor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others.Learn more.

We can just backport it separately, since I need the ref for this PR's changes.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others.Learn more.

Is it worth using miss-islington for the backport here?

Copy link
MemberAuthor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others.Learn more.

I'll just do it manually in a bit.

AA-Turner reacted with thumbs up emoji
@brandtbucher
Copy link
MemberAuthor

I just realized that my approach forsys._jit.is_active() will need reworking, since the tail-calling interpreter doesn't haveentry_frame handy.

@brandtbucher
Copy link
MemberAuthor

Okay, reworked to support tail-calling.

@brandtbucher
Copy link
MemberAuthor

@markshannon, let me know what you think. The bots won't let us merge features without approving review, but I'd like to get something like this in before the freeze.

Copy link
Member

@markshannonmarkshannon left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others.Learn more.

Looks good.
One small suggestion

@brandtbucherbrandtbucher merged commitb1aa515 intopython:mainMay 5, 2025
48 checks passed
Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment
Reviewers

@AA-TurnerAA-TurnerAA-Turner left review comments

@markshannonmarkshannonmarkshannon approved these changes

@ericsnowcurrentlyericsnowcurrentlyAwaiting requested review from ericsnowcurrentlyericsnowcurrently is a code owner

Assignees

@brandtbucherbrandtbucher

Labels
interpreter-core(Objects, Python, Grammar, and Parser dirs)topic-JITtype-featureA feature request or enhancement
Projects
None yet
Milestone
No milestone
Development

Successfully merging this pull request may close these issues.

3 participants
@brandtbucher@AA-Turner@markshannon

[8]ページ先頭

©2009-2025 Movatter.jp